1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 18:17:10 +02:00

fix rebuild target (remove some warnings)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-06-08 18:57:17 +00:00
parent 5d2f21c8e3
commit 98654cfa34

View File

@ -27,13 +27,6 @@ $$(INFO_$(1)): $$(IPKG_$(1))
$(2)-clean: $(2)-clean:
rm -f $$(IPKG_$(1)) rm -f $$(IPKG_$(1))
clean: $(2)-clean clean: $(2)-clean
mostlyclean:
rebuild:
-$(MAKE) mostlyclean
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
$(MAKE) clean; \
fi
$(MAKE) compile
endef endef
ifneq ($(strip $(PKG_SOURCE)),) ifneq ($(strip $(PKG_SOURCE)),)
@ -58,6 +51,13 @@ source: $(DL_DIR)/$(PKG_SOURCE)
prepare: $(PKG_BUILD_DIR)/.prepared prepare: $(PKG_BUILD_DIR)/.prepared
compile: compile:
install: install:
mostlyclean:
rebuild:
-$(MAKE) mostlyclean
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
$(MAKE) clean; \
fi
$(MAKE) compile
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured