deptest: Install of host tools has to be forced for every test, because the host...
authorMichael Büsch <mb@bu3sch.de>
Wed, 3 Nov 2010 14:58:32 +0000 (14:58 +0000)
committerMichael Büsch <mb@bu3sch.de>
Wed, 3 Nov 2010 14:58:32 +0000 (14:58 +0000)
SVN-Revision: 23825

include/host-build.mk
scripts/deptest.sh

index 1b7f354066ece81a3aa0f131bd61baba3d24c33b..6f742d28a1a2287e2e8e337619c997a9f0af5a2b 100644 (file)
@@ -153,12 +153,12 @@ ifndef DUMP
                $(call Host/Compile)
                touch $$@
 
-    $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT)
+    $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE)
                $(call Host/Install)
                mkdir -p $$(shell dirname $$@)
                touch $$@
   else
-    $(HOST_STAMP_BUILT): $(HOST_STAMP_CONFIGURED)
+    $(HOST_STAMP_BUILT): $(HOST_STAMP_CONFIGURED) $(if $(FORCE_HOST_INSTALL),FORCE)
                $(call Host/Compile)
                $(call Host/Install)
                touch $$@
index 730ca5bd35edcf7c4f2559183b7708bfb8c9bb85..a0c3017c7d00510eea5f000e6c5c04fa4b277380 100755 (executable)
@@ -74,6 +74,7 @@ test_package() # $1=pkgname
                BUILD_DIR_HOST="$BUILD_DIR_HOST" \
                STAGING_DIR="$STAGING_DIR" \
                STAGING_DIR_HOST="$STAGING_DIR_HOST" \
+               FORCE_HOST_INSTALL=1 \
                V=99 >"$LOG_DIR/$(basename $pkg).log" 2>&1
        if [ $? -eq 0 ]; then
                touch "$STAMP_SUCCESS"