mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-03 13:23:08 +00:00
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
7
Makefile
7
Makefile
@ -91,11 +91,14 @@ kernel_menuconfig: .config FORCE
|
|||||||
-$(MAKE) target/linux-prepare
|
-$(MAKE) target/linux-prepare
|
||||||
$(NO_TRACE_MAKE) -C target/linux menuconfig
|
$(NO_TRACE_MAKE) -C target/linux menuconfig
|
||||||
|
|
||||||
package/%:
|
scan_packages:
|
||||||
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
|
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
|
||||||
|
|
||||||
|
|
||||||
|
package/%: scan_packages
|
||||||
$(MAKE) -C package $(patsubst package/%,%,$@)
|
$(MAKE) -C package $(patsubst package/%,%,$@)
|
||||||
|
|
||||||
target/%:
|
target/%: scan_packages
|
||||||
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
|
@$(NO_TRACE_MAKE) -s tmp/.pkginfo tmp/.targetinfo
|
||||||
$(MAKE) -C target $(patsubst target/%,%,$@)
|
$(MAKE) -C target $(patsubst target/%,%,$@)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user