1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-09-28 07:09:46 +02:00

add PKG_HOST_ONLY variable to prevent target builds

SVN-Revision: 14906
This commit is contained in:
Felix Fietkau 2009-03-17 02:37:04 +00:00
parent ddcfaeb1e5
commit 7ec4ad271e
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ endef
ifndef DUMP
define HostBuild
$(if $(QUILT),$(Host/Quilt))
$(if $(STAMP_PREPARED),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
$(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
$(if $(DUMP),,$(call HostHost/Autoclean))
$(HOST_STAMP_PREPARED):

View File

@ -156,7 +156,7 @@ endif
), $(BuildTarget/$(target)) \
) \
)
$(if $(DUMP),,$(call Build/DefaultTargets,$(1)))
$(if $(PKG_HOST_ONLY)$(DUMP),,$(call Build/DefaultTargets,$(1)))
endef
define pkg_install_files