summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-16 18:14:54 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-16 18:14:54 +0200
commit45503e08943034afa26b31f2a55dd9698080646a (patch)
tree441ca4875af13170eee779c5b82f73e4f05f8431 /Makefile
parentd8bd1de1d486f398255a74eb356f55c8c45f2fa2 (diff)
downloadembtoolkit-45503e08943034afa26b31f2a55dd9698080646a.tar.gz
embtoolkit-45503e08943034afa26b31f2a55dd9698080646a.tar.bz2
embtoolkit-45503e08943034afa26b31f2a55dd9698080646a.tar.xz
Add config.guess for better build host determination
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
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
-