mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -100,6 +100,11 @@ define Build/DefaultTargets
|
||||
$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))
|
||||
$(call Build/Autoclean)
|
||||
|
||||
download:
|
||||
$(foreach hook,$(Hooks/Download),
|
||||
$(call $(hook))$(sep)
|
||||
)
|
||||
|
||||
$(STAMP_PREPARED) : export PATH=$$(TARGET_PATH_PKG)
|
||||
$(STAMP_PREPARED):
|
||||
@-rm -rf $(PKG_BUILD_DIR)
|
||||
|
||||
Reference in New Issue
Block a user