summaryrefslogtreecommitdiff
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
commitbdc9419a20714a22efd786d1db888727c4033725 (patch)
treeeaddcce70d9dca8e2b21b31e97667093c89b632f /Makefile
parent81455651a2e0d193af54bf8058e5434084433afc (diff)
downloadmtk-20170518-bdc9419a20714a22efd786d1db888727c4033725.zip
mtk-20170518-bdc9419a20714a22efd786d1db888727c4033725.tar.gz
mtk-20170518-bdc9419a20714a22efd786d1db888727c4033725.tar.bz2
rewrite of the metadata scanning - cleaner code, faster scanning, recursive scanning and better handling of makefile dependencies
SVN-Revision: 7981
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f4b153c..4120b62 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