From f8ed7002c698a0833f7498a55b5badf905d36eee Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Fri, 22 Mar 2019 18:47:19 -0700 Subject: Add support for noMMU xtensa scripts/build/kernel/linux.sh only provides suffix to known architectures when building toolchain targeting noMMU linux. Add support for xtensa and assign uclinux suffix to it. Signed-off-by: Max Filippov diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index f098765..bfeadf0 100644 --- a/scripts/build/kernel/linux.sh +++ b/scripts/build/kernel/linux.sh @@ -9,9 +9,9 @@ CT_DoKernelTupleValues() # while others must have a -linux tuple. Other targets # should be added here when someone starts to care about them. case "${CT_ARCH}" in - arm*) CT_TARGET_KERNEL="linux" ;; - m68k) CT_TARGET_KERNEL="uclinux" ;; - *) CT_Abort "Unsupported no-mmu arch '${CT_ARCH}'" + arm*) CT_TARGET_KERNEL="linux" ;; + m68k|xtensa*) CT_TARGET_KERNEL="uclinux" ;; + *) CT_Abort "Unsupported no-mmu arch '${CT_ARCH}'" esac fi } -- cgit v0.10.2-6-g49f6