fix CONFIG_ALL
authorMike Baker <mbm@openwrt.org>
Wed, 2 Aug 2006 13:40:11 +0000 (13:40 +0000)
committerMike Baker <mbm@openwrt.org>
Wed, 2 Aug 2006 13:40:11 +0000 (13:40 +0000)
SVN-Revision: 4397

openwrt/include/package.mk

index 3dc944dbfa0a21774866fd1e0027c91f5ae7d18f..fbd4cf714957f524355e6a022b3d951a433a6b56 100644 (file)
@@ -19,7 +19,7 @@ define Build/DefaultTargets
         $(PKG_BUILD_DIR)/.prepared: package-clean
       endif
 
-      ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
+      ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $(IPKG_$(1)) $(PKG_BUILD_DIR) | tee /tmp/check_$(1)),$(IPKG_$(1)))
         $(PKG_BUILD_DIR)/.built: package-rebuild
       endif
     endif
@@ -121,7 +121,7 @@ define BuildPackage
       install-targets: $$(INFO_$(1))
     endif
 
-    ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),)
+    ifneq ($(CONFIG_PACKAGE_$(1))$(CONFIG_ALL),)
       compile-targets: $$(IPKG_$(1))
     endif
   endif