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>
dev-linux
Max Filippov 4 years ago
parent 89ba62fb1d
commit f8ed7002c6

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

Loading…
Cancel
Save