From 4ea7de50302b3f33a9ad2bcbda984161d0f3023b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 7 Sep 2006 12:48:22 +0000 Subject: [PATCH] add extra rebuild check for development libraries SVN-Revision: 4770 --- openwrt/include/package.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 515698d691..42ffcfbb3c 100644 --- a/openwrt/include/package.mk +++ b/openwrt/include/package.mk @@ -39,6 +39,10 @@ define Build/DefaultTargets touch $$@ ifdef Build/InstallDev + ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed $(PKG_BUILD_DIR)),$(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed) + $(PKG_BUILD_DIR)/.built: package-rebuild + endif + $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/stampfiles $(call Build/InstallDev)