Răsfoiți Sursa

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 <[email protected]>
Paul Spooren 5 ani în urmă
părinte
comite
359a4b46bb
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      package/system/refpolicy/Makefile

+ 2 - 3
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)"