From: Paul Spooren Date: Tue, 29 Sep 2020 09:09:22 +0000 (-1000) Subject: refpolicy: fix path to setfiles and checkpolicy X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=359a4b46bb234166010b3e63b147d93db6c3b4f5;p=openwrt%2Fstaging%2Fynezz.git 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 --- diff --git a/package/system/refpolicy/Makefile b/package/system/refpolicy/Makefile index a80b4d043c..a431770955 100644 --- a/package/system/refpolicy/Makefile +++ b/package/system/refpolicy/Makefile @@ -56,9 +56,8 @@ endef # builds is a small host tool that gets run as part of the build # process. MAKE_FLAGS += \ - TEST_TOOLCHAIN="$(STAGING_DIR_HOSTPKG)" \ - BINDIR=/bin \ - SBINDIR=/sbin \ + SETFILES="$(STAGING_DIR_HOST)/bin/setfiles" \ + CHECKPOLICY="$(STAGING_DIR_HOSTPKG)/bin/checkpolicy" \ CC="$(HOSTCC)" \ CFLAGS="$(HOST_CFLAGS)"