[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-35cf723e99c0e26ddf51f037dffaa4ff2c2c9106@git.kernel.org>
Date: Wed, 6 May 2009 14:51:52 GMT
From: tip-bot for Christoph Hellwig <hch@....de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
rostedt@...dmis.org, hch@....de, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:tracing/core] tracing: small trave_events sample Makefile cleanup
Commit-ID: 35cf723e99c0e26ddf51f037dffaa4ff2c2c9106
Gitweb: http://git.kernel.org/tip/35cf723e99c0e26ddf51f037dffaa4ff2c2c9106
Author: Christoph Hellwig <hch@....de>
AuthorDate: Wed, 6 May 2009 12:33:38 +0200
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Wed, 6 May 2009 16:48:56 +0200
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@....de>
Acked-by: Steven Rostedt <rostedt@...dmis.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
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 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 <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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists