[lttng-dev] [PATCH latency_tracker] Use $(src) rather than pwd to identify the source tree.

Benjamin Poirier bpoirier at suse.de
Wed May 20 19:32:54 EDT 2015


This fixes the build when using kernels older than "aa55c8e kbuild: handle
C=... and M=... after entering into build directory (v3.18-rc1)" and a
separate object output directory (`make O=...`).

Signed-off-by: Benjamin Poirier <bpoirier at suse.de>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 360b24b..de141df 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-ccflags-y += -I$(PWD)/include $(EXTCFLAGS)
+ccflags-y += -I$(src)/include $(EXTCFLAGS)
 
 latency_tracker-objs := tracker.o rculfhash.o rculfhash-mm-chunk.o wfcqueue.o
 
-- 
2.3.5




More information about the lttng-dev mailing list