build system: add support for download-time make hooks
SVN-Revision: 28322
This commit is contained in:
parent
f3be1b4890
commit
1b8dd6ed1c
|
@ -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