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>
This commit is contained in:
Christoph Hellwig 2009-05-06 12:33:38 +02:00 committed by Ingo Molnar
parent 48dd0fed90
commit 35cf723e99

View file

@ -1,8 +1,6 @@
# builds the trace events example kernel modules;
# then to use one (as root): insmod <module_name.ko>
PWD := $(shell pwd)
CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/
CFLAGS_trace-events-sample.o := -I$(src)
obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o