refpolicy: fix path to setfiles and checkpolicy
Directly set path via MAKE vars instead of defning TESTTOOLS. This way setfiles, which is required by the ImageBuilder, ends up in /host/bin while checkpolicy can stay in hostpkg/bin. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
parent
18acf62be1
commit
359a4b46bb
@ -56,9 +56,8 @@ endef
|
|||||||
# builds is a small host tool that gets run as part of the build
|
# builds is a small host tool that gets run as part of the build
|
||||||
# process.
|
# process.
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
TEST_TOOLCHAIN="$(STAGING_DIR_HOSTPKG)" \
|
SETFILES="$(STAGING_DIR_HOST)/bin/setfiles" \
|
||||||
BINDIR=/bin \
|
CHECKPOLICY="$(STAGING_DIR_HOSTPKG)/bin/checkpolicy" \
|
||||||
SBINDIR=/sbin \
|
|
||||||
CC="$(HOSTCC)" \
|
CC="$(HOSTCC)" \
|
||||||
CFLAGS="$(HOST_CFLAGS)"
|
CFLAGS="$(HOST_CFLAGS)"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user