From: Felix Fietkau Date: Fri, 8 May 2009 20:44:47 +0000 (+0000) Subject: clean up / fix various Host/Clean templates in tools/ X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e53003f5fceb7a54f646d06ee4344860c367b749;p=openwrt%2Fstaging%2Fansuel.git clean up / fix various Host/Clean templates in tools/ SVN-Revision: 15714 --- diff --git a/tools/autoconf/Makefile b/tools/autoconf/Makefile index 12bbaba255..c6279494e9 100644 --- a/tools/autoconf/Makefile +++ b/tools/autoconf/Makefile @@ -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 diff --git a/tools/automake/Makefile b/tools/automake/Makefile index 679a954218..cd258479df 100644 --- a/tools/automake/Makefile +++ b/tools/automake/Makefile @@ -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 diff --git a/tools/bison/Makefile b/tools/bison/Makefile index 58a5603ef4..60b4946820 100644 --- a/tools/bison/Makefile +++ b/tools/bison/Makefile @@ -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 diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index 64108d72f9..f19c9337fb 100644 --- a/tools/ccache/Makefile +++ b/tools/ccache/Makefile @@ -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 diff --git a/tools/m4/Makefile b/tools/m4/Makefile index 20b86ff040..e5e6d32665 100644 --- a/tools/m4/Makefile +++ b/tools/m4/Makefile @@ -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 diff --git a/tools/pkg-config/Makefile b/tools/pkg-config/Makefile index 0a68e742a5..b4a2d5d557 100644 --- a/tools/pkg-config/Makefile +++ b/tools/pkg-config/Makefile @@ -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