projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53394a1
)
fix rebuild, when mostlyclean fails
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 5 Jun 2005 14:22:06 +0000
(14:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 5 Jun 2005 14:22:06 +0000
(14:22 +0000)
SVN-Revision: 1148
openwrt/package/rules.mk
patch
|
blob
|
history
diff --git
a/openwrt/package/rules.mk
b/openwrt/package/rules.mk
index 53b868d1aca14cb391f4a15c40cb43c77079133d..e5fe79e084d4dfc4058d7c3266a46678395aeaeb 100644
(file)
--- 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)