mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-14 17:49:41 +02:00

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>
251 B
251 B
SPDX-License-Identifier: GPL-2.0
hostprogs-y := mdp
HOST_EXTRACFLAGS +=
-I$(srctree)/include/uapi -I$(srctree)/include
-I$(srctree)/security/selinux/include -I$(objtree)/include
always := $(hostprogs-y) clean-files := policy.* file_contexts