diff options
author | Christoph Hellwig <hch@lst.de> | 2009-05-06 06:33:38 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-06 10:48:56 -0400 |
commit | 35cf723e99c0e26ddf51f037dffaa4ff2c2c9106 (patch) | |
tree | 7422c7df64dc078916b890967940b089f304fd38 /samples/trace_events/Makefile | |
parent | 48dd0fed90e2b1f1ba87401439b85942181c6df3 (diff) |
tracing: small trave_events sample Makefile cleanup
Use -I$(src) to add the current directory the include path.
[ Impact: cleanup ]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples/trace_events/Makefile')
-rw-r--r-- | samples/trace_events/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/trace_events/Makefile b/samples/trace_events/Makefile index 06c6dea1eb84..0d428dc67283 100644 --- a/samples/trace_events/Makefile +++ b/samples/trace_events/Makefile | |||
@@ -1,8 +1,6 @@ | |||
1 | # builds the trace events example kernel modules; | 1 | # builds the trace events example kernel modules; |
2 | # then to use one (as root): insmod <module_name.ko> | 2 | # then to use one (as root): insmod <module_name.ko> |
3 | 3 | ||
4 | PWD := $(shell pwd) | 4 | CFLAGS_trace-events-sample.o := -I$(src) |
5 | |||
6 | CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/ | ||
7 | 5 | ||
8 | obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o | 6 | obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o |