set maxdepth appropriately for package scanning
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jul 2007 23:39:22 +0000 (23:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jul 2007 23:39:22 +0000 (23:39 +0000)
SVN-Revision: 7985

Makefile

index 4120b6295a9306d182e87ceed7559be0dbe97494..baaddfd58dd09849ea9fa15f252cdc054a62ac20 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,8 +49,8 @@ export SCAN_COOKIE
 
 tmp/.packageinfo tmp/.targetinfo: FORCE
        mkdir -p tmp/info
-       $(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="profiles/*.mk $(TOPDIR)/include/kernel*.mk" SCAN_EXTRA=""
-       $(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(TOPDIR)/include/package*.mk" SCAN_EXTRA=""
+       $(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="profiles/*.mk $(TOPDIR)/include/kernel*.mk" SCAN_DEPTH=1 SCAN_EXTRA=""
+       $(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(TOPDIR)/include/package*.mk" SCAN_DEPTH=4 SCAN_EXTRA=""
 
 tmpinfo-clean: FORCE
        -rm -rf tmp/.*info