summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/rules.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/rules.mk b/package/rules.mk
index e2e0777da..5d604c504 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: