From: mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 2 Aug 2006 13:40:11 +0000 (+0000)
Subject: fix CONFIG_ALL
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/abbc6440741e747eb56f5b03d3df26df5e536864

fix CONFIG_ALL


git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4397 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/include/package.mk b/include/package.mk
index 3dc944dbf..fbd4cf714 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -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