mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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: e37c1877ba
("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>
This commit is contained in:
committed by
Paul Moore
parent
ff1bf4c071
commit
ccd19d4caf
@@ -2,7 +2,7 @@
|
|||||||
hostprogs-y := mdp
|
hostprogs-y := mdp
|
||||||
HOST_EXTRACFLAGS += \
|
HOST_EXTRACFLAGS += \
|
||||||
-I$(srctree)/include/uapi -I$(srctree)/include \
|
-I$(srctree)/include/uapi -I$(srctree)/include \
|
||||||
-I$(srctree)/security/selinux/include
|
-I$(srctree)/security/selinux/include -I$(objtree)/include
|
||||||
|
|
||||||
always := $(hostprogs-y)
|
always := $(hostprogs-y)
|
||||||
clean-files := policy.* file_contexts
|
clean-files := policy.* file_contexts
|
||||||
|
Reference in New Issue
Block a user