mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:08:26 +02:00
add a rebuild and a default mostlyclean target to packages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1145 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7274b64a96
commit
878d2d742f
@ -27,7 +27,12 @@ $$(INFO_$(1)): $$(IPKG_$(1))
|
||||
$(2)-clean:
|
||||
rm -f $$(IPKG_$(1))
|
||||
clean: $(2)-clean
|
||||
|
||||
mostlyclean:
|
||||
rebuild: mostlyclean
|
||||
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
|
||||
$(MAKE) clean; \
|
||||
fi
|
||||
$(MAKE) compile
|
||||
endef
|
||||
|
||||
ifneq ($(strip $(PKG_SOURCE)),)
|
||||
|
Loading…
Reference in New Issue
Block a user