From 854b18b2ac7738bff38010cc35af700cd64af9b6 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 7 Dec 2018 14:48:08 -0800 Subject: Disallow selection of "both endianness" ... if the architecture only supports single endianness selection. Signed-off-by: Alexey Neyman --- config/target.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/target.in b/config/target.in index 34d93695..c0054f21 100644 --- a/config/target.in +++ b/config/target.in @@ -142,10 +142,12 @@ config ARCH_LE config ARCH_BE_LE bool prompt "Both, default big endian" + depends on ARCH_SUPPORTS_BOTH_ENDIAN config ARCH_LE_BE bool prompt "Both, default little endian" + depends on ARCH_SUPPORTS_BOTH_ENDIAN endchoice -- cgit v1.2.3 From 7a7a20bfee243cd0078ba843e6c3dce977d61ec9 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 7 Dec 2018 14:49:28 -0800 Subject: Moxiebox requires target to be LE Signed-off-by: Alexey Neyman --- config/libc/moxiebox.in | 1 + samples/moxie-unknown-moxiebox/crosstool.config | 1 + 2 files changed, 2 insertions(+) (limited to 'config') diff --git a/config/libc/moxiebox.in b/config/libc/moxiebox.in index ac0324c4..ca2107ed 100644 --- a/config/libc/moxiebox.in +++ b/config/libc/moxiebox.in @@ -4,6 +4,7 @@ # autoconfig and automake. ## depends on ARCH_MOXIE +## depends on ARCH_LE ## depends on BARE_METAL ## select LIBC_NEWLIB_SHOW ## select LIBC_SUPPORT_THREADS_NONE diff --git a/samples/moxie-unknown-moxiebox/crosstool.config b/samples/moxie-unknown-moxiebox/crosstool.config index 6fae8592..58fe6533 100644 --- a/samples/moxie-unknown-moxiebox/crosstool.config +++ b/samples/moxie-unknown-moxiebox/crosstool.config @@ -1,5 +1,6 @@ CT_EXPERIMENTAL=y CT_ARCH_MOXIE=y +CT_ARCH_LE=y CT_DEBUG_GDB=y CT_GDB_CROSS_SIM=y # CT_GDB_CROSS_PYTHON is not set -- cgit v1.2.3