change handling of the Build/Clean template

SVN-Revision: 3930
master
Felix Fietkau 19 years ago
parent faf7e1a5dd
commit 6257403c0c
  1. 5
      openwrt/package/rules.mk

@ -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

Loading…
Cancel
Save