diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-22 10:03:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-22 10:03:52 -0800 |
commit | 67327145c4af673d9c4ef06537ca8c5818f97668 (patch) | |
tree | c9c6365008efaaec6dd0fcf710c0c2de332878d8 /scripts/selinux/mdp/Makefile | |
parent | eb254f323bd50ab7e3cc385f2fc641a595cc8b37 (diff) | |
parent | bfc5e3a6af397dcf9c99a6c1872458e7867c4680 (diff) | |
download | hikey-clang-67327145c4af673d9c4ef06537ca8c5818f97668.tar.gz |
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/mdp/Makefile')
-rw-r--r-- | scripts/selinux/mdp/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/selinux/mdp/Makefile b/scripts/selinux/mdp/Makefile index dba7eff69a00..d6a83cafe59f 100644 --- a/scripts/selinux/mdp/Makefile +++ b/scripts/selinux/mdp/Makefile @@ -1,5 +1,7 @@ hostprogs-y := mdp -HOST_EXTRACFLAGS += -Isecurity/selinux/include +HOST_EXTRACFLAGS += \ + -I$(srctree)/include/uapi -I$(srctree)/include \ + -I$(srctree)/security/selinux/include always := $(hostprogs-y) clean-files := policy.* file_contexts |