Skip to content

Commit

Permalink
arch: Add support for RX GCC build
Browse files Browse the repository at this point in the history
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
  • Loading branch information
duynguyenxa committed Jan 24, 2025
1 parent 66e5f92 commit c2d7ae1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "crosstool-ng"]
path = crosstool-ng
url = https://github.com/zephyrproject-rtos/crosstool-ng.git
url = https://github.com/renesas/crosstool-ng.git
[submodule "binutils"]
path = binutils
url = https://github.com/zephyrproject-rtos/binutils-gdb.git
Expand All @@ -9,13 +9,13 @@
url = https://github.com/zephyrproject-rtos/newlib-cygwin.git
[submodule "gcc"]
path = gcc
url = https://github.com/zephyrproject-rtos/gcc.git
url = https://github.com/renesas/gcc.git
[submodule "gdb"]
path = gdb
url = https://github.com/zephyrproject-rtos/binutils-gdb.git
[submodule "picolibc"]
path = picolibc
url = https://github.com/zephyrproject-rtos/picolibc.git
url = https://github.com/renesas/picolibc.git
[submodule "crosskit-x86_64-apple-darwin"]
path = crosskit/crosskit-x86_64-apple-darwin
url = https://github.com/zephyrproject-rtos/crosskit-x86_64-apple-darwin.git
Expand Down
1 change: 1 addition & 0 deletions cmake/zephyr/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(CROSS_COMPILE_TARGET_arm64 aarch64-zephyr-elf)
set(CROSS_COMPILE_TARGET_nios2 nios2-zephyr-elf)
set(CROSS_COMPILE_TARGET_riscv riscv64-zephyr-elf)
set(CROSS_COMPILE_TARGET_mips mips-zephyr-elf)
set(CROSS_COMPILE_TARGET_rx rx-zephyr-elf)
set(CROSS_COMPILE_TARGET_microblaze microblazeel-zephyr-elf)
set(CROSS_COMPILE_TARGET_xtensa xtensa-${SOC_TOOLCHAIN_NAME}_zephyr-elf)

Expand Down
6 changes: 6 additions & 0 deletions configs/rx-zephyr-elf.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_ARCH_RX=y
CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_TARGET_VENDOR="zephyr"
CT_MULTILIB=y
2 changes: 1 addition & 1 deletion crosstool-ng
2 changes: 1 addition & 1 deletion gcc
2 changes: 1 addition & 1 deletion picolibc

0 comments on commit c2d7ae1

Please sign in to comment.