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 <jcmvbkbc@gmail.com>
This commit is contained in:
Max Filippov 2019-03-22 18:47:19 -07:00
parent 89ba62fb1d
commit f8ed7002c6

View File

@ -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
}