mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
add a rebuild and a default mostlyclean target to packages.
SVN-Revision: 1145
This commit is contained in:
parent
a3f771d4c4
commit
f71e84a9ff
@ -27,7 +27,12 @@ $$(INFO_$(1)): $$(IPKG_$(1))
|
|||||||
$(2)-clean:
|
$(2)-clean:
|
||||||
rm -f $$(IPKG_$(1))
|
rm -f $$(IPKG_$(1))
|
||||||
clean: $(2)-clean
|
clean: $(2)-clean
|
||||||
|
mostlyclean:
|
||||||
|
rebuild: mostlyclean
|
||||||
|
if [ -f $(PKG_BUILD_DIR)/.built ]; then \
|
||||||
|
$(MAKE) clean; \
|
||||||
|
fi
|
||||||
|
$(MAKE) compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifneq ($(strip $(PKG_SOURCE)),)
|
ifneq ($(strip $(PKG_SOURCE)),)
|
||||||
|
Loading…
Reference in New Issue
Block a user