aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-15 22:51:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-15 22:51:12 +0000
commit90351f3587f0f64bac151f4701a6cd140650bd0b (patch)
treeea80a222d748c2dcfa5e4d32687a4329e685ddf1 /Makefile
parent6a84ab32823645fa41d115e79f97f6289bf53651 (diff)
downloadupstream-90351f3587f0f64bac151f4701a6cd140650bd0b.tar.gz
upstream-90351f3587f0f64bac151f4701a6cd140650bd0b.tar.bz2
upstream-90351f3587f0f64bac151f4701a6cd140650bd0b.zip
rewrite of the metadata scanning - cleaner code, faster scanning, recursive scanning and better handling of makefile dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7981 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f4b153c17e..4120b6295a 100644
--- a/Makefile
+++ b/Makefile
@@ -44,10 +44,13 @@ endif
package/%/Makefile: ;
target/%/Makefile: ;
+SCAN_COOKIE?=$(shell echo $$$$)
+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="" SCAN_TARGET_DEPS="$(wildcard target/*/Makefile include/kernel*.mk)" SCAN_EXTRA=""
- $(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(wildcard package/*/Makefile include/package*.mk include/kernel.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_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=""
tmpinfo-clean: FORCE
-rm -rf tmp/.*info