summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-11 00:34:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-11 00:34:11 +0000
commit7aecf3babe4d20f8b6183b71858cd4c179459958 (patch)
tree6fedf8585166da3601eb70a3c547a888d17efea3
parent4c9d7a5f27c9b6cf0e7e3ccec87025b7131096ac (diff)
change handling of the Build/Clean template
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3930 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/rules.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/rules.mk b/package/rules.mk
index d44cd986a..77a6595e8 100644
--- a/package/rules.mk
+++ b/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