Skip to content

Commit

Permalink
tracing: small trave_events sample Makefile cleanup
Browse files Browse the repository at this point in the history
Use -I$(src) to add the current directory the include path.

[ Impact: cleanup ]

Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Christoph Hellwig authored and Ingo Molnar committed May 6, 2009
1 parent 48dd0fe commit 35cf723
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions samples/trace_events/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 35cf723

Please sign in to comment.