X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/26a4d6751bd3394c31ee21c0148fc6b9cca65576..3a5c4c82ffa0efb67cb43225003dc61773bfb3f5:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 7e0501c55..719468c25 100644 --- a/include/package.mk +++ b/include/package.mk @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ all: $(if $(DUMP),dumpinfo,compile) @@ -79,7 +78,7 @@ define Build/DefaultTargets $(STAMP_CONFIGURED) : export PATH=$$(TARGET_PATH_PKG) $(STAMP_CONFIGURED) : export CONFIG_SITE:=$$(CONFIG_SITE) - $(STAMP_CONFIGURED): $(STAMP_PREPARED) $(HOST_STAMP_INSTALLED) + $(STAMP_CONFIGURED): $(STAMP_PREPARED) $(foreach hook,$(Hooks/Configure/Pre),$(call $(hook))$(sep)) $(Build/Configure) $(foreach hook,$(Hooks/Configure/Post),$(call $(hook))$(sep)) @@ -156,7 +155,7 @@ endif ), $(BuildTarget/$(target)) \ ) \ ) - $(if $(DUMP),,$(call Build/DefaultTargets,$(1))) + $(if $(PKG_HOST_ONLY)$(DUMP),,$(call Build/DefaultTargets,$(1))) endef define pkg_install_files