aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 16:20:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 16:20:27 +0000
commit4cff7a62e4c5ada865c33bedcbd8d9d8f4fb537b (patch)
treec292541e391540f7f6da0cd4379c5ba104f3e562
parent07dab1f9922bfe4b1c47ea349a31964978fa6a1a (diff)
downloadupstream-4cff7a62e4c5ada865c33bedcbd8d9d8f4fb537b.tar.gz
upstream-4cff7a62e4c5ada865c33bedcbd8d9d8f4fb537b.tar.bz2
upstream-4cff7a62e4c5ada865c33bedcbd8d9d8f4fb537b.zip
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
-rw-r--r--package/rules.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/rules.mk b/package/rules.mk
index e2e0777da4..5d604c5045 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -28,11 +28,11 @@ define Build/DefaultTargets
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(call Build/Compile)
touch $$@
-
+
$(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built
$(call Build/InstallDev)
touch $$@
-
+
package-clean: FORCE
$(call Build/Clean)
$(call Build/UninstallDev)
@@ -263,7 +263,11 @@ else
prepare: $(PKG_BUILD_DIR)/.prepared
configure: $(PKG_BUILD_DIR)/.configured
+ifdef Build/InstallDev
compile-targets: $(PKG_BUILD_DIR)/.dev-installed
+else
+ compile-targets:
+endif
compile: compile-targets
install-targets: