From: Mathieu Desnoyers Date: Tue, 15 Mar 2016 14:45:44 +0000 (-0400) Subject: Add makefile directory to include path X-Git-Tag: v2.8.0-rc1~18 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=c52610a481844423e94367b3a1a4e343269c2038 Add makefile directory to include path Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index 05e4449b..a2299771 100644 --- 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 diff --git a/lib/Kbuild b/lib/Kbuild index aee52a2f..d0bba746 100644 --- a/lib/Kbuild +++ b/lib/Kbuild @@ -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 := \ diff --git a/probes/Kbuild b/probes/Kbuild index 0be49d7f..1c6b9d0f 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -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