summaryrefslogtreecommitdiff
path: root/include/host-build.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-17 02:37:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-17 02:37:04 +0000
commit7ec4ad271e4d1cd75a454450ba5a085816955e3d (patch)
tree56e8dfc70cfef46f280ccca2d66c45d62af7ce4b /include/host-build.mk
parentddcfaeb1e516d569436c3d4d453a9573655ca375 (diff)
downloadmtk-20170518-7ec4ad271e4d1cd75a454450ba5a085816955e3d.zip
mtk-20170518-7ec4ad271e4d1cd75a454450ba5a085816955e3d.tar.gz
mtk-20170518-7ec4ad271e4d1cd75a454450ba5a085816955e3d.tar.bz2
add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
Diffstat (limited to 'include/host-build.mk')
-rw-r--r--include/host-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index 892cde9..a6118fb 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):