diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2019-03-19 09:21:06 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-03-19 12:29:04 -0400 |
commit | ccd19d4cafaaf36132c372e77ee9304b707c1e70 (patch) | |
tree | eb4952a48578bdd7edf622509f0faa242d5c71a6 /scripts | |
parent | ff1bf4c0714e7936330bb316090a75eaa35061e7 (diff) | |
download | linux-ccd19d4cafaaf36132c372e77ee9304b707c1e70.tar.gz linux-ccd19d4cafaaf36132c372e77ee9304b707c1e70.tar.bz2 linux-ccd19d4cafaaf36132c372e77ee9304b707c1e70.zip |
scripts/selinux: fix build
We need to add the object tree include directory to the include path
for building mdp in order to pick up generated/autoconf.h. Otherwise,
make O=/path/to/objtree breaks.
Fixes: e37c1877ba5b ("scripts/selinux: modernize mdp")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/selinux/mdp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/selinux/mdp/Makefile b/scripts/selinux/mdp/Makefile index e9c92db7e2a3..8a1269a9d0ba 100644 --- a/scripts/selinux/mdp/Makefile +++ b/scripts/selinux/mdp/Makefile @@ -2,7 +2,7 @@ hostprogs-y := mdp HOST_EXTRACFLAGS += \ -I$(srctree)/include/uapi -I$(srctree)/include \ - -I$(srctree)/security/selinux/include + -I$(srctree)/security/selinux/include -I$(objtree)/include always := $(hostprogs-y) clean-files := policy.* file_contexts |