diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-29 11:26:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-29 11:26:35 +0000 |
commit | b85ea2c3660b2073994b9d45b51e3278eaa6f99d (patch) | |
tree | 79888acb80a6bd85892a8ffa4d97845bde6307f4 /Makefile | |
parent | a65202bf3faad6a64795dc86d3f65675048433d8 (diff) | |
download | upstream-b85ea2c3660b2073994b9d45b51e3278eaa6f99d.tar.gz upstream-b85ea2c3660b2073994b9d45b51e3278eaa6f99d.tar.bz2 upstream-b85ea2c3660b2073994b9d45b51e3278eaa6f99d.zip |
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
Diffstat (limited to 'Makefile')
-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/%,%,$@) |