run metadata scanning only once when multiple targets are specified on the command line
SVN-Revision: 6754
This commit is contained in:
parent
4d8d426714
commit
f952681f35
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -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/%,%,$@)
|
||||
|
||||
|
|
Loading…
Reference in a new issue