From: Felix Fietkau Date: Sun, 5 Jun 2005 14:22:06 +0000 (+0000) Subject: fix rebuild, when mostlyclean fails X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=63dab52461925d107ba9681aa0f9a5292f83e924;p=openwrt%2Fstaging%2Fnbd.git fix rebuild, when mostlyclean fails SVN-Revision: 1148 --- diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index 53b868d1ac..e5fe79e084 100644 --- a/openwrt/package/rules.mk +++ b/openwrt/package/rules.mk @@ -28,7 +28,8 @@ $(2)-clean: rm -f $$(IPKG_$(1)) clean: $(2)-clean mostlyclean: -rebuild: mostlyclean +rebuild: + -$(MAKE) mostlyclean if [ -f $(PKG_BUILD_DIR)/.built ]; then \ $(MAKE) clean; \ fi @@ -64,7 +65,6 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PACKAGE_DIR): mkdir -p $@ - clean: rm -rf $(PKG_BUILD_DIR)