Commit ccd19d4c authored by Stephen Smalley's avatar Stephen Smalley Committed by Paul Moore
Browse files

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: e37c1877 ("scripts/selinux: modernize mdp")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent ff1bf4c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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