mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
fix rebuild, when mostlyclean fails
SVN-Revision: 1148
This commit is contained in:
parent
de60731de3
commit
63dab52461
@ -28,7 +28,8 @@ $(2)-clean:
|
|||||||
rm -f $$(IPKG_$(1))
|
rm -f $$(IPKG_$(1))
|
||||||
clean: $(2)-clean
|
clean: $(2)-clean
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
rebuild: mostlyclean
|
rebuild:
|
||||||
|
-$(MAKE) mostlyclean
|
||||||
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
|
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
|
||||||
$(MAKE) clean; \
|
$(MAKE) clean; \
|
||||||
fi
|
fi
|
||||||
@ -64,7 +65,6 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
|||||||
$(PACKAGE_DIR):
|
$(PACKAGE_DIR):
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(PKG_BUILD_DIR)
|
rm -rf $(PKG_BUILD_DIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user