scripts/selinux: fix build
authorStephen Smalley <sds@tycho.nsa.gov>
Tue, 19 Mar 2019 13:21:06 +0000 (09:21 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 19 Mar 2019 16:29:04 +0000 (12:29 -0400)
commitccd19d4cafaaf36132c372e77ee9304b707c1e70
treeeb4952a48578bdd7edf622509f0faa242d5c71a6
parentff1bf4c0714e7936330bb316090a75eaa35061e7
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>
scripts/selinux/mdp/Makefile