From: Felix Fietkau Date: Sun, 11 Jun 2006 00:34:11 +0000 (+0000) Subject: change handling of the Build/Clean template X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6257403c0ce47a0cb4d8752facce119a0fe588f6;p=openwrt%2Fstaging%2Fthess.git change handling of the Build/Clean template SVN-Revision: 3930 --- 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