Skip to content

Commit 42423af

Browse files
committed
kbuild/kbuild.sh: use arc-linux as arc crosstool
./gcc-9.3.0-nolibc/arceb-elf ./gcc-9.3.0-nolibc/arc-elf ./gcc-10.5.0-nolibc/arc-linux ./gcc-11.5.0-nolibc/arc-linux ./gcc-13.3.0-nolibc/arc-linux ./gcc-14.2.0-nolibc/arc-linux Reported-by: Costin Costinctin <[email protected]> Link: #398 Signed-off-by: Philip Li <[email protected]>
1 parent 735351f commit 42423af

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

kbuild/kbuild.sh

+1-11
Original file line numberDiff line numberDiff line change
@@ -312,16 +312,6 @@ setup_cross_vars()
312312
xtensa)
313313
crosstool=xtensa-linux
314314
;;
315-
arc)
316-
# start to support big endian arc toolchain form gcc-9.3.0
317-
# for earlier gcc version, will failed to find arceb-elf for
318-
# big endian arceb-elf tool chain
319-
if is_config_enabled CONFIG_CPU_BIG_ENDIAN; then
320-
crosstool=arceb-elf
321-
else
322-
crosstool=arc-elf
323-
fi
324-
;;
325315
c6x)
326316
crosstool=c6x-elf
327317
;;
@@ -339,8 +329,8 @@ setup_cross_vars()
339329
loongarch)
340330
crosstool=loongarch64-linux
341331
;;
342-
# nios2
343332
*)
333+
# arc
344334
crosstool=$ARCH-linux
345335
;;
346336
esac

0 commit comments

Comments
 (0)