change handling of the Build/Clean template

SVN-Revision: 3930
This commit is contained in:
Felix Fietkau 2006-06-11 00:34:11 +00:00
parent faf7e1a5dd
commit 6257403c0c

View file

@ -257,10 +257,6 @@ define Build/Compile
$(call Build/Compile/Default,) $(call Build/Compile/Default,)
endef endef
define Build/Clean
$(MAKE) clean
endef
ifneq ($(DUMP),) ifneq ($(DUMP),)
dumpinfo: FORCE dumpinfo: FORCE
@$(DUMPINFO) @$(DUMPINFO)
@ -282,5 +278,6 @@ else
clean-targets: clean-targets:
clean: FORCE clean: FORCE
@$(MAKE) clean-targets @$(MAKE) clean-targets
$(call Build/Clean)
rm -rf $(PKG_BUILD_DIR) rm -rf $(PKG_BUILD_DIR)
endif endif