Commit 35cf723e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Ingo Molnar

tracing: small trave_events sample Makefile cleanup

Use -I$(src) to add the current directory the include path.

[ Impact: cleanup ]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
LKML-Reference: <new-submission>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 48dd0fed
# builds the trace events example kernel modules; # builds the trace events example kernel modules;
# then to use one (as root): insmod <module_name.ko> # then to use one (as root): insmod <module_name.ko>
PWD := $(shell pwd) CFLAGS_trace-events-sample.o := -I$(src)
CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/
obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment