add an extra build step Build/Install which allows you to run a make install target...
[openwrt.git] / include / package.mk
index da8de5c..e0f8c71 100644 (file)
@@ -49,6 +49,7 @@ define Download/default
   URL:=$(PKG_SOURCE_URL)
   SUBDIR:=$(PKG_SOURCE_SUBDIR)
   PROTO:=$(PKG_SOURCE_PROTO)
+  $(if $(PKG_SOURCE_MIRROR),MIRROR:=$(filter 1,$(PKG_MIRROR)))
   VERSION:=$(PKG_SOURCE_VERSION)
   MD5SUM:=$(PKG_MD5SUM)
 endef
@@ -80,6 +81,8 @@ define Build/DefaultTargets
        $(foreach hook,$(Hooks/Compile/Pre),$(call $(hook))$(sep))
        $(Build/Compile)
        $(foreach hook,$(Hooks/Compile/Post),$(call $(hook))$(sep))
+       $(Build/Install)
+       $(foreach hook,$(Hooks/Install/Post),$(call $(hook))$(sep))
        touch $$@
 
   $(STAMP_INSTALLED): $(STAMP_BUILT)
This page took 0.047873 seconds and 4 git commands to generate.