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 12bbaba..c627949 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 679a954..cd25847 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 58a5603..60b4946 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 64108d7..f19c933 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 20b86ff..e5e6d32 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 0a68e74..b4a2d5d 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