only use the .dev-installed target if Build/InstallDev is defined - avoids unnecessar...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 May 2006 16:20:27 +0000 (16:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 May 2006 16:20:27 +0000 (16:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3866 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/rules.mk

index e2e0777..5d604c5 100644 (file)
@@ -28,11 +28,11 @@ define Build/DefaultTargets
   $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
        $(call Build/Compile)
        touch $$@
   $(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 $$@
   $(PKG_BUILD_DIR)/.dev-installed: $(PKG_BUILD_DIR)/.built
        $(call Build/InstallDev)
        touch $$@
-    
+
   package-clean: FORCE
        $(call Build/Clean)
        $(call Build/UninstallDev)
   package-clean: FORCE
        $(call Build/Clean)
        $(call Build/UninstallDev)
@@ -263,7 +263,11 @@ else
   prepare: $(PKG_BUILD_DIR)/.prepared
   configure: $(PKG_BUILD_DIR)/.configured
 
   prepare: $(PKG_BUILD_DIR)/.prepared
   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
 
   install-targets:
   compile: compile-targets
 
   install-targets:
This page took 0.034259 seconds and 4 git commands to generate.