aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/selinux/genheaders/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-22 10:03:52 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-22 10:03:52 -0800
commit67327145c4af673d9c4ef06537ca8c5818f97668 (patch)
treec9c6365008efaaec6dd0fcf710c0c2de332878d8 /scripts/selinux/genheaders/Makefile
parentMerge branch 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff)
parentselinux: use the kernel headers when building scripts/selinux (diff)
downloadlinux-dev-67327145c4af673d9c4ef06537ca8c5818f97668.tar.xz
linux-dev-67327145c4af673d9c4ef06537ca8c5818f97668.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull SElinux fix from James Morris: "From Paul: 'A small SELinux patch to fix some clang/llvm compiler warnings and ensure the tools under scripts work well in the face of kernel changes'" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: selinux: use the kernel headers when building scripts/selinux
Diffstat (limited to 'scripts/selinux/genheaders/Makefile')
-rw-r--r--scripts/selinux/genheaders/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/selinux/genheaders/Makefile b/scripts/selinux/genheaders/Makefile
index 1d1ac51359e3..6fc2b8789a0b 100644
--- a/scripts/selinux/genheaders/Makefile
+++ b/scripts/selinux/genheaders/Makefile
@@ -1,4 +1,6 @@
hostprogs-y := genheaders
-HOST_EXTRACFLAGS += -Isecurity/selinux/include
+HOST_EXTRACFLAGS += \
+ -I$(srctree)/include/uapi -I$(srctree)/include \
+ -I$(srctree)/security/selinux/include
always := $(hostprogs-y)