X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=include%2Fpackage.mk;h=cfb39dac8359c4e0c342a313b80513acea405fba;hp=1c2c179cdaf1a728c8efc6f90871152f1bc620d3;hb=836ca89fe00e553af67049b6d96415c2dab5d7ff;hpb=6456946aa942b864dbc3622e5d58a0fe2b8d6c6f 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)