Add makefile directory to include path
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 Mar 2016 14:45:44 +0000 (10:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 Mar 2016 15:25:59 +0000 (11:25 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
lib/Kbuild
probes/Kbuild

index 05e4449bbbdf18bb288416bbda5c0ee4114c1c8a..a2299771a103dedf5bff79e258aa12330e93c576 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,8 @@ ifneq ($(KERNELRELEASE),)
 
     include $(MAKEFILEDIR)/Makefile.ABI.workarounds
 
+    ccflags-y += -I$(PWD)
+
     obj-$(CONFIG_LTTNG) += lttng-ring-buffer-client-discard.o
     obj-$(CONFIG_LTTNG) += lttng-ring-buffer-client-overwrite.o
     obj-$(CONFIG_LTTNG) += lttng-ring-buffer-metadata-client.o
index aee52a2f270a49948b58cc8b9fdc4ef076060564..d0bba746e3565d9410c488a5ce9b06112344be78 100644 (file)
@@ -2,6 +2,8 @@ MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))
 
 include $(MAKEFILEDIR)/../Makefile.ABI.workarounds
 
+ccflags-y += -I$(PWD)
+
 obj-$(CONFIG_LTTNG) += lttng-lib-ring-buffer.o
 
 lttng-lib-ring-buffer-objs := \
index 0be49d7fb742b09835b2be1b116ad8afbda5d6c3..1c6b9d0f42d59682e8835999e816ae298677990e 100644 (file)
@@ -2,7 +2,7 @@ MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))
 
 include $(MAKEFILEDIR)/../Makefile.ABI.workarounds
 
-ccflags-y += -I$(PWD)/probes
+ccflags-y += -I$(PWD) -I$(PWD)/..
 
 obj-$(CONFIG_LTTNG) += lttng-probe-sched.o
 obj-$(CONFIG_LTTNG) += lttng-probe-irq.o
This page took 0.026955 seconds and 4 git commands to generate.