From 6257403c0ce47a0cb4d8752facce119a0fe588f6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 11 Jun 2006 00:34:11 +0000 Subject: [PATCH] change handling of the Build/Clean template SVN-Revision: 3930 --- openwrt/package/rules.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index d44cd986a4..77a6595e82 100644 --- a/openwrt/package/rules.mk +++ b/openwrt/package/rules.mk @@ -257,10 +257,6 @@ define Build/Compile $(call Build/Compile/Default,) endef -define Build/Clean - $(MAKE) clean -endef - ifneq ($(DUMP),) dumpinfo: FORCE @$(DUMPINFO) @@ -282,5 +278,6 @@ else clean-targets: clean: FORCE @$(MAKE) clean-targets + $(call Build/Clean) rm -rf $(PKG_BUILD_DIR) endif