From f807c242141333353deb64f1afd4294fd57e58c2 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 8 May 2009 20:44:47 +0000 Subject: clean up / fix various Host/Clean templates in tools/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15714 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/autoconf/Makefile | 2 +- tools/automake/Makefile | 3 +-- tools/bison/Makefile | 3 +-- tools/ccache/Makefile | 1 - tools/m4/Makefile | 3 +-- tools/pkg-config/Makefile | 3 +-- 6 files changed, 5 insertions(+), 10 deletions(-) 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 -- cgit v1.2.3