clean up / fix various Host/Clean templates in tools/ (backport from r15714)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 May 2009 22:48:03 +0000 (22:48 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 8 May 2009 22:48:03 +0000 (22:48 +0000)
SVN-Revision: 15716

tools/autoconf/Makefile
tools/automake/Makefile
tools/bison/Makefile
tools/ccache/Makefile
tools/lua/Makefile
tools/pkg-config/Makefile

index 30ca2d2..b3b3e37 100644 (file)
@@ -30,7 +30,7 @@ define Build/Install
 endef
 
 define Build/Clean
-       export SHELL="$(BASH)"; $(MAKE) -C $(PKG_BUILD_DIR) uninstall
+       -export SHELL="$(BASH)"; $(MAKE) -C $(PKG_BUILD_DIR) uninstall
        $(call Build/Clean/Default)
 endef
 
index 2b8a6f3..541a6d4 100644 (file)
@@ -33,8 +33,7 @@ define Build/Install
 endef
 
 define Build/Clean
-       $(MAKE) -C $(PKG_BUILD_DIR) uninstall
-       $(MAKE) -C $(PKG_BUILD_DIR) clean
+       -$(MAKE) -C $(PKG_BUILD_DIR) uninstall
        $(call Build/Clean/Default)
 endef
 
index 2b85612..980e381 100644 (file)
@@ -25,8 +25,7 @@ define Build/Install
 endef
 
 define Build/Clean
-       $(MAKE) -C $(PKG_BUILD_DIR) uninstall
-       $(MAKE) -C $(PKG_BUILD_DIR) clean
+       -$(MAKE) -C $(PKG_BUILD_DIR) uninstall
        $(call Build/Clean/Default)
 endef
 
index 50714ad..6eff866 100644 (file)
@@ -28,7 +28,6 @@ ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
 
   define Build/Clean
        -$(MAKE) -C $(PKG_BUILD_DIR) uninstall
-       -$(MAKE) -C $(PKG_BUILD_DIR) clean
        $(call Build/Clean/Default)
   endef
 else
index 1bebe09..3038328 100644 (file)
@@ -34,7 +34,6 @@ define Build/Install
 endef
 
 define Build/Clean
-       $(MAKE) -C $(PKG_BUILD_DIR)/src clean
        rm -f $(PKG_BUILD_DIR)/src/luac-host
        $(call Build/Clean/Default)
 endef
index bcae2df..2c95650 100644 (file)
@@ -27,8 +27,7 @@ define Build/Install
 endef
 
 define Build/Clean
-       $(MAKE) -C $(PKG_BUILD_DIR) uninstall
-       $(MAKE) -C $(PKG_BUILD_DIR) clean
+       -$(MAKE) -C $(PKG_BUILD_DIR) uninstall
        $(call Build/Clean/Default)
 endef