aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-23 21:11:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-23 21:11:48 +0000
commit2555097cc691246108bc11115763d3b1c2cc4897 (patch)
treee8eb906cf8509ba250f47ec77027ae5108df1299 /Makefile
parent0f9285a745233f8a6b6cfc902344eca55d7b3e1e (diff)
downloadupstream-2555097cc691246108bc11115763d3b1c2cc4897.tar.gz
upstream-2555097cc691246108bc11115763d3b1c2cc4897.tar.bz2
upstream-2555097cc691246108bc11115763d3b1c2cc4897.zip
fix target rescan (version kernel changes)
SVN-Revision: 7317
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f06b151eb2..e2430164fe 100644
--- a/Makefile
+++ b/Makefile
@@ -44,11 +44,10 @@ endif
package/%/Makefile: ;
target/%/Makefile: ;
-tmp/.packageinfo: $(wildcard package/*/Makefile include/package*.mk include/kernel.mk) FORCE
-tmp/.targetinfo: $(wildcard target/*/Makefile include/kernel*.mk) FORCE
-tmp/.%info:
+tmp/.packageinfo tmp/.targetinfo: FORCE
mkdir -p tmp/info
- $(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="$*info" SCAN_DIR="$(patsubst target,target/linux,$*)" SCAN_NAME="$*" SCAN_DEPS="$(filter-out FORCE, $^)" SCAN_EXTRA=""
+ $(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=""
tmpinfo-clean: FORCE
-rm -rf tmp/.*info