diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-29 11:26:35 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-29 11:26:35 +0000 |
commit | f9330b47eabb5e7584e9a0c5c775cb3ace652c35 (patch) | |
tree | 79888acb80a6bd85892a8ffa4d97845bde6307f4 | |
parent | 15aefc67e4ad085c8ff5c6c79a2dd22b15e9b2f3 (diff) |
run metadata scanning only once when multiple targets are specified on the command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6754 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -91,11 +91,14 @@ kernel_menuconfig: .config FORCE -$(MAKE) target/linux-prepare $(NO_TRACE_MAKE) -C target/linux menuconfig -package/%: +scan_packages: @$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo + + +package/%: scan_packages $(MAKE) -C package $(patsubst package/%,%,$@) -target/%: +target/%: scan_packages @$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo $(MAKE) -C target $(patsubst target/%,%,$@) |