mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:07:11 +02:00
only use the .dev-installed target if Build/InstallDev is defined - avoids unnecessary builds of deselected packages
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3866 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
347a2ee3f9
commit
b0b0670121
@ -28,11 +28,11 @@ define Build/DefaultTargets
|
|||||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
||||||
$(call Build/Compile)
|
$(call Build/Compile)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built
|
$(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built
|
||||||
$(call Build/InstallDev)
|
$(call Build/InstallDev)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
||||||
package-clean: FORCE
|
package-clean: FORCE
|
||||||
$(call Build/Clean)
|
$(call Build/Clean)
|
||||||
$(call Build/UninstallDev)
|
$(call Build/UninstallDev)
|
||||||
@ -263,7 +263,11 @@ else
|
|||||||
prepare: $(PKG_BUILD_DIR)/.prepared
|
prepare: $(PKG_BUILD_DIR)/.prepared
|
||||||
configure: $(PKG_BUILD_DIR)/.configured
|
configure: $(PKG_BUILD_DIR)/.configured
|
||||||
|
|
||||||
|
ifdef Build/InstallDev
|
||||||
compile-targets: $(PKG_BUILD_DIR)/.dev-installed
|
compile-targets: $(PKG_BUILD_DIR)/.dev-installed
|
||||||
|
else
|
||||||
|
compile-targets:
|
||||||
|
endif
|
||||||
compile: compile-targets
|
compile: compile-targets
|
||||||
|
|
||||||
install-targets:
|
install-targets:
|
||||||
|
Loading…
Reference in New Issue
Block a user