diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-30 11:12:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-30 11:12:13 +0000 |
commit | 1b8dd6ed1cb9285c227bf28fed95478ad4ae77cb (patch) | |
tree | 85deaa361266f03d7b4cbb51aa903c88f7dc2838 /include | |
parent | f3be1b4890b624c7031681e54f8f24ca0b44196f (diff) | |
download | upstream-1b8dd6ed1cb9285c227bf28fed95478ad4ae77cb.tar.gz upstream-1b8dd6ed1cb9285c227bf28fed95478ad4ae77cb.tar.bz2 upstream-1b8dd6ed1cb9285c227bf28fed95478ad4ae77cb.zip |
build system: add support for download-time make hooks
SVN-Revision: 28322
Diffstat (limited to 'include')
-rw-r--r-- | include/package.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk index 1c2c179cda..cfb39dac83 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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) |