summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lnet/lnet/Makefile
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@infradead.org>2017-08-19 22:26:53 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-22 18:36:52 -0700
commit709b4c54e53b600da473aa0868e2e1a75f6c9cd7 (patch)
tree8dccf265a607effc517652d621a2424097343988 /drivers/staging/lustre/lnet/lnet/Makefile
parenta33e20b66c30ee83355abfd93bbbd62ef9ad034f (diff)
staging: lustre: lnet: add include path to Makefile
Rationalize include paths in the lnet core source code files. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/lnet/Makefile')
-rw-r--r--drivers/staging/lustre/lnet/lnet/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lnet/lnet/Makefile b/drivers/staging/lustre/lnet/lnet/Makefile
index 4c81fa19429a..fd8585cd0ce2 100644
--- a/drivers/staging/lustre/lnet/lnet/Makefile
+++ b/drivers/staging/lustre/lnet/lnet/Makefile
@@ -1,3 +1,6 @@
+subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/include
+subdir-ccflags-y += -I$(srctree)/drivers/staging/lustre/lustre/include
+
obj-$(CONFIG_LNET) += lnet.o
lnet-y := api-ni.o config.o nidstrings.o net_fault.o \