From: Christoph Hellwig Date: Wed, 6 May 2009 10:33:38 +0000 (+0200) Subject: tracing: small trave_events sample Makefile cleanup X-Git-Tag: v2.6.31-rc1~401^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35cf723e99c0e26ddf51f037dffaa4ff2c2c9106;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Acked-by: Steven Rostedt LKML-Reference: Signed-off-by: Ingo Molnar --- diff --git a/samples/trace_events/Makefile b/samples/trace_events/Makefile index 06c6dea..0d428dc 100644 --- a/samples/trace_events/Makefile +++ b/samples/trace_events/Makefile @@ -1,8 +1,6 @@ # builds the trace events example kernel modules; # then to use one (as root): insmod -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