run metadata scanning only once when multiple targets are specified on the command line

SVN-Revision: 6754
This commit is contained in:
Felix Fietkau 2007-03-29 11:26:35 +00:00
parent 4d8d426714
commit f952681f35

View file

@ -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/%,%,$@)