mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:05:20 +02:00
deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23825 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
30a7395e39
commit
22441e9171
@ -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 $$@
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user