clean up / fix various Host/Clean templates in tools/
authorFelix Fietkau <nbd@openwrt.org>
Fri, 8 May 2009 20:44:47 +0000 (20:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 8 May 2009 20:44:47 +0000 (20:44 +0000)
SVN-Revision: 15714

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

index 12bbaba2559b2d7edb8ac6888b62a644d3093b69..c6279494e95d93fc05d1d285a4e43bf063e4ee86 100644 (file)
@@ -30,7 +30,7 @@ define Host/Install
 endef
 
 define Host/Clean
-       export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
+       -export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
        $(call Host/Clean/Default)
 endef
 
index 679a954218258615ceccbaa5e8f4343f4d541ba8..cd258479df8723b1b951f84581e37adfdab8f76d 100644 (file)
@@ -33,8 +33,7 @@ define Host/Install
 endef
 
 define Host/Clean
-       $(MAKE) -C $(HOST_BUILD_DIR) uninstall
-       $(MAKE) -C $(HOST_BUILD_DIR) clean
+       -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
        $(call Host/Clean/Default)
 endef
 
index 58a5603ef47a9c211998652525daa52fda651c73..60b4946820697ad6860c77b5c9092b4b99f67a3f 100644 (file)
@@ -25,8 +25,7 @@ define Host/Install
 endef
 
 define Host/Clean
-       $(MAKE) -C $(HOST_BUILD_DIR) uninstall
-       $(MAKE) -C $(HOST_BUILD_DIR) clean
+       -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
        $(call Host/Clean/Default)
 endef
 
index 64108d72f9d87447e20073dde36034c1cee0c116..f19c9337fb2c8910dffe4859aa687e9c0b6403fa 100644 (file)
@@ -28,7 +28,6 @@ ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
 
   define Host/Clean
        -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
-       -$(MAKE) -C $(HOST_BUILD_DIR) clean
        $(call Host/Clean/Default)
   endef
 else
index 20b86ff0407b3239367261fb61008071203a5e16..e5e6d32665e8704f278bdb518d76cf436ea64cd7 100644 (file)
@@ -25,8 +25,7 @@ define Host/Install
 endef
 
 define Host/Clean
-       $(MAKE) -C $(HOST_BUILD_DIR) uninstall
-       $(MAKE) -C $(HOST_BUILD_DIR) clean
+       -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
        $(call Host/Clean/Default)
 endef
 
index 0a68e742a5ef1054809ba016aa860d55fdc41e54..b4a2d5d5571773b0e20fd22f3e168736a7d0ccd9 100644 (file)
@@ -27,8 +27,7 @@ define Host/Install
 endef
 
 define Host/Clean
-       $(MAKE) -C $(HOST_BUILD_DIR) uninstall
-       $(MAKE) -C $(HOST_BUILD_DIR) clean
+       -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
        $(call Host/Clean/Default)
 endef