only use the .dev-installed target if Build/InstallDev is defined - avoids unnecessary builds of deselected packages

SVN-Revision: 3866
This commit is contained in:
Felix Fietkau 2006-05-31 16:20:27 +00:00
parent 3bcaa7384b
commit 7773da2a84

View file

@ -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: