summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/host-build.mk2
-rw-r--r--include/package.mk2
2 files changed, 2 insertions, 2 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):
diff --git a/include/package.mk b/include/package.mk
index 191dec9..c134f54 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