fix InstallDev bug
authorFelix Fietkau <nbd@openwrt.org>
Thu, 1 Jun 2006 00:06:16 +0000 (00:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 1 Jun 2006 00:06:16 +0000 (00:06 +0000)
SVN-Revision: 3880

openwrt/package/rules.mk

index 5d604c50451079232e4e637d65077b09f4bdae6e..e06ddb11c301861d99cc33b30b7f398b923f564d 100644 (file)
@@ -32,6 +32,10 @@ define Build/DefaultTargets
   $(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built
        $(call Build/InstallDev)
        touch $$@
+       
+  ifdef Build/InstallDev
+    compile-targets: $(PKG_BUILD_DIR)/.dev-installed
+  endif
 
   package-clean: FORCE
        $(call Build/Clean)
@@ -241,16 +245,10 @@ define Build/Compile
   $(call Build/Compile/Default,)
 endef
 
-define Build/InstallDev
-endef
-
 define Build/Clean
        $(MAKE) clean
 endef
 
-define Build/UninstallDev
-endef
-
 ifneq ($(DUMP),)
   dumpinfo: FORCE
        @$(DUMPINFO)
@@ -263,11 +261,7 @@ 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: