From: Felix Fietkau Date: Tue, 17 Mar 2009 02:37:04 +0000 (+0000) Subject: add PKG_HOST_ONLY variable to prevent target builds X-Git-Tag: reboot~24205 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7ec4ad271e4d1cd75a454450ba5a085816955e3d;p=oweals%2Fopenwrt.git add PKG_HOST_ONLY variable to prevent target builds SVN-Revision: 14906 --- diff --git a/include/host-build.mk b/include/host-build.mk index 892cde91f5..a6118fb06f 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -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): diff --git a/include/package.mk b/include/package.mk index 191dec9ca7..c134f542ed 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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