summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-03-23 01:47:19 (GMT)
committerMax Filippov <jcmvbkbc@gmail.com>2019-03-23 18:09:43 (GMT)
commitf8ed7002c698a0833f7498a55b5badf905d36eee (patch)
tree2e886ecc7b20afde90ecca64f1dea86c36d4f0ed
parent89ba62fb1daad737cdb33c3b1ef69092beeaab0b (diff)
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>
-rw-r--r--scripts/build/kernel/linux.sh6
1 files changed, 3 insertions, 3 deletions
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
}