projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
46862b8
)
fix rebuild, when mostlyclean fails
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 14:22:06 +0000
(14:22 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 14:22:06 +0000
(14:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1148
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
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:
rm -f $$(IPKG_$(1))
clean: $(2)-clean
mostlyclean:
-rebuild: mostlyclean
+rebuild:
+ -$(MAKE) mostlyclean
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
$(MAKE) clean; \
fi
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 $@
$(PACKAGE_DIR):
mkdir -p $@
-
clean:
rm -rf $(PKG_BUILD_DIR)
clean:
rm -rf $(PKG_BUILD_DIR)