@ -82,8 +82,8 @@ _ignore = $(foreach p,$(IGNORE_PACKAGES),--ignore $(p))
prepare-tmpinfo : FORCE
@+$( MAKE) -r -s staging_dir/host/.prereq-build $( PREP_MK)
mkdir -p tmp/info
$( _SINGLE) $( NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET = "packageinfo" SCAN_DIR = "package" SCAN_NAME = "package" SCAN_DEPS = " $( TOPDIR) /include/package*.mk " SCAN_DEP TH = 5 SCAN_EXTRA = ""
$( _SINGLE) $( NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET = "targetinfo" SCAN_DIR = "target/linux" SCAN_NAME = "target" SCAN_DEPS = " image/Makefile profiles/*.mk $( TOPDIR) /include/kernel*.mk $( TOPDIR) /include/target.mk " SCAN_DEP TH = 2 SCAN_EXTRA = "" SCAN_MAKEOPTS = "TARGET_BUILD=1"
$( _SINGLE) $( NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET = "packageinfo" SCAN_DIR = "package" SCAN_NAME = "package" SCAN_DEPTH = 5 SCAN_EXTRA = ""
$( _SINGLE) $( NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET = "targetinfo" SCAN_DIR = "target/linux" SCAN_NAME = "target" SCAN_DEPTH = 2 SCAN_EXTRA = "" SCAN_MAKEOPTS = "TARGET_BUILD=1"
for type in package target; do \
f = tmp/.$$ { type} info; t = tmp/.config-$$ { type} .in; \
[ " $$ t " -nt " $$ f " ] || ./scripts/$$ { type} -metadata.pl $( _ignore) config " $$ f " > " $$ t " || { rm -f " $$ t " ; echo " Failed to build $$ t " ; false; break; } ; \