1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 07:41:44 +02:00

fix rebuild, when mostlyclean fails

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1148 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-06-05 14:22:06 +00:00
parent d126c9a3b7
commit 5a675d5f7a

View File

@ -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)