mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
build system: add support for download-time make hooks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28322 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2389b46d1d
commit
bae55c0f8b
@ -100,6 +100,11 @@ define Build/DefaultTargets
|
|||||||
$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))
|
$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))
|
||||||
$(call Build/Autoclean)
|
$(call Build/Autoclean)
|
||||||
|
|
||||||
|
download:
|
||||||
|
$(foreach hook,$(Hooks/Download),
|
||||||
|
$(call $(hook))$(sep)
|
||||||
|
)
|
||||||
|
|
||||||
$(STAMP_PREPARED) : export PATH=$$(TARGET_PATH_PKG)
|
$(STAMP_PREPARED) : export PATH=$$(TARGET_PATH_PKG)
|
||||||
$(STAMP_PREPARED):
|
$(STAMP_PREPARED):
|
||||||
@-rm -rf $(PKG_BUILD_DIR)
|
@-rm -rf $(PKG_BUILD_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user