summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kconfig4
-rw-r--r--core/mk/buildsystem.mk1
2 files changed, 5 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 1597b0e..bb7f016 100644
--- a/Kconfig
+++ b/Kconfig
@@ -40,6 +40,10 @@ config EMBTK_HOST_OSTYPE
string
option env="EMBTK_HOST_OSTYPE"
+config EMBTK_HOST_OS
+ string
+ option env="EMBTK_HOST_OS"
+
menu "Target OS Selection"
choice
prompt "Choose target OS"
diff --git a/core/mk/buildsystem.mk b/core/mk/buildsystem.mk
index b6959d1..3f8bd35 100644
--- a/core/mk/buildsystem.mk
+++ b/core/mk/buildsystem.mk
@@ -45,6 +45,7 @@ define __embtk_kconfig_buildrun
PKG_CONFIG_PATH=$(EMBTK_HOST_PKG_CONFIG_PATH) \
$(MAKE) -f scripts/Makefile.build \
obj=$(EMBTK_ROOT)/scripts/kconfig \
+ EMBTK_HOST_OS="$(embtk_buildhost_os)" \
EMBTK_HOST_OSTYPE="$(embtk_buildhost_os_type)" \
EMBTK_DEFAULT_DL="$(EMBTK_ROOT)/dl/" \
EMBTK_VERSION=$(EMBTK_VERSION) \