diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-03-22 18:47:19 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-03-23 11:09:43 -0700 |
commit | f8ed7002c698a0833f7498a55b5badf905d36eee (patch) | |
tree | 2e886ecc7b20afde90ecca64f1dea86c36d4f0ed | |
parent | 89ba62fb1daad737cdb33c3b1ef69092beeaab0b (diff) | |
download | crosstool-ng-f8ed7002c698a0833f7498a55b5badf905d36eee.tar.gz crosstool-ng-f8ed7002c698a0833f7498a55b5badf905d36eee.tar.bz2 crosstool-ng-f8ed7002c698a0833f7498a55b5badf905d36eee.zip |
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.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index f0987653..bfeadf07 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 } |