diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-06-05 14:22:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-06-05 14:22:06 +0000 |
commit | 941f587141cc3013117dba3fe0be65b1ead853f7 (patch) | |
tree | 2cbd3b2a0e8b92924ede8e0ed2aa5f5a0f8f14f3 /package/rules.mk | |
parent | 91d16e05832908f4a8145d431d772db672e3b1c3 (diff) | |
download | upstream-941f587141cc3013117dba3fe0be65b1ead853f7.tar.gz upstream-941f587141cc3013117dba3fe0be65b1ead853f7.tar.bz2 upstream-941f587141cc3013117dba3fe0be65b1ead853f7.zip |
fix rebuild, when mostlyclean fails
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1148 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rules.mk')
-rw-r--r-- | package/rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rules.mk b/package/rules.mk index 53b868d1ac..e5fe79e084 100644 --- a/package/rules.mk +++ b/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) |