summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f070987..c1a18db 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else echo sh; fi ; fi)
export CONFIG_SHELL
-HOST_ARCH :=$(shell uname -m)-unknown-linux-gnu
+HOST_ARCH := `$(CONFIG_SHELL) $(EMBTK_ROOT)/scripts/config.guess`
HOST_BUILD := $(HOST_ARCH)
export HOST_ARCH HOST_BUILD
@@ -89,4 +89,3 @@ include mk/target_mcu.mk
include mk/initialpath.mk
include mk/toolchain.mk
-