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 30ca2d28d1437f5cae0495cde3157d351f808f7e..b3b3e3705ca4888f4498b5319ea74240319783c1 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 2b8a6f3450109331d1ace7cd6150d6c101797857..541a6d46c60ab66f03c2ad63af6c16321bc02e4e 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 2b8561205980552d51866a353c47eb2aebeab993..980e3810ac66f90a7169265b743015df6cb92b43 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 50714ad7d9517c6d8e83f937d290f7ba79c3792c..6eff8664542e7339907d81e193ac8257d86d0e8d 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 1bebe09f9622b998076d919406760555a4562c7d..3038328547262682aa8961f6d8131cca03c2c028 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 bcae2dfa695de7f654089f21fda3277ccab9cca8..2c9565000b6cb4724f48b8a726281bffa49e8dd8 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