summaryrefslogtreecommitdiffstats
path: root/openwrt/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 14:22:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-05 14:22:06 +0000
commit74dc21e8e5a77f5d1902dbc64ab7cb06f779f21d (patch)
tree7078140decc5049651df5acfc7bf136c28c24d8c /openwrt/package
parent46862b86f0d1dc726d627ac79aa3f98d3d7c1b17 (diff)
fix rebuild, when mostlyclean fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1148 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk
index 53b868d1a..e5fe79e08 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)