[lustre-devel] [PATCH 1/2] staging: lustre: Add include path to Makefile

Joe Perches joe at perches.com
Mon Aug 15 12:33:23 PDT 2016


Start to rationalize include paths in source code files.

Signed-off-by: Joe Perches <joe at perches.com>
---
 drivers/staging/lustre/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/staging/lustre/Makefile b/drivers/staging/lustre/Makefile
index 95ffe33..9d00237 100644
--- a/drivers/staging/lustre/Makefile
+++ b/drivers/staging/lustre/Makefile
@@ -1,2 +1,5 @@
+subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include/
+subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include/
+
 obj-$(CONFIG_LNET)		+= lnet/
 obj-$(CONFIG_LUSTRE_FS)		+= lustre/
-- 
2.8.0.rc4.16.g56331f8



More information about the lustre-devel mailing list