X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4c9d7a5f27c9b6cf0e7e3ccec87025b7131096ac..7aecf3babe4d20f8b6183b71858cd4c179459958:/package/rules.mk 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