File tree Expand file tree Collapse file tree 5 files changed +30
-6
lines changed
meta-zephyr-sdk/recipes-devtools/qemu Expand file tree Collapse file tree 5 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 1111 - TARGET=arm64
1212 - TARGET=riscv64
1313 - TARGET=arc
14+ - TARGET=sparc
1415 - TARGET=x86_64-zephyr-elf
1516 - TARGET=xtensa_sample_controller
1617 - TARGET=xtensa_intel_apl_adsp
7172integrations :
7273 generic :
7374 - integrationName : aws_s3_simple
74-
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Currently we build the following toolchains:
1313- arm
1414- arm64
1515- riscv64
16+ - sparc
1617- xtensa
1718
1819To build for any of the above, run:
Original file line number Diff line number Diff line change 1+ CT_CONFIG_VERSION="3"
2+ CT_OBSOLETE=y
3+ CT_LOCAL_TARBALLS_DIR="${CT_PREFIX:-${HOME}/x-tools}/sources"
4+ # CT_PREFIX_DIR_RO is not set
5+ CT_PATCH_BUNDLED_LOCAL=y
6+ CT_LOCAL_PATCH_DIR="${CT_TOP_DIR}/../../patches"
7+ # CT_LOG_PROGRESS_BAR is not set
8+ CT_ARCH_SPARC=y
9+ CT_MULTILIB=y
10+ CT_TARGET_VENDOR="zephyr"
11+ CT_LIBC_NEWLIB_TARGET_CFLAGS="-DMISSING_SYSCALL_NAMES"
12+ CT_LIBC_NEWLIB_IO_FLOAT=y
13+ # CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
14+ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
15+ CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
16+ CT_LIBC_NEWLIB_LITE_EXIT=y
17+ # CT_LIBC_NEWLIB_MULTITHREAD is not set
18+ # CT_LIBC_NEWLIB_WIDE_ORIENT is not set
19+ CT_LIBC_NEWLIB_NANO_MALLOC=y
20+ CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y
21+ CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
22+ CT_CC_LANG_CXX=y
23+ CT_DEBUG_GDB=y
24+ CT_ISL_V_0_18=y
25+ CT_LIBICONV_NEEDED=y
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ inherit autotools pkgconfig
194194# --disable-blobs : BIOS needed for x86
195195# --disable-fdt: Cannot use if supporting ARM
196196
197- QEMUS_BUILT = "aarch64-softmmu arm-softmmu i386-softmmu mips-softmmu nios2-softmmu xtensa-softmmu riscv32-softmmu riscv64-softmmu x86_64-softmmu"
197+ QEMUS_BUILT = "aarch64-softmmu arm-softmmu i386-softmmu mips-softmmu nios2-softmmu xtensa-softmmu riscv32-softmmu riscv64-softmmu sparc-softmmu x86_64-softmmu"
198198QEMU_FLAGS = "--disable-docs --disable-sdl --disable-debug-info --disable-cap-ng \
199199 --disable-libnfs --disable-libusb --disable-libiscsi --disable-usb-redir --disable-linux-aio\
200200 --disable-guest-agent --disable-libssh --disable-vnc-png --disable-seccomp \
@@ -227,6 +227,3 @@ FILES_${PN} = " \
227227 "
228228
229229INSANE_SKIP_${PN} = "already-stripped"
230-
231-
232-
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ product_name="zephyr-sdk"
1515
1616root_dir=$( dirname $0 ) /..
1717sdk_version=$( cat $root_dir /VERSION)
18- arch_list=" arm arm64 arc nios2 riscv64 x86_64 xtensa_sample_controller \
18+ arch_list=" arm arm64 arc nios2 riscv64 sparc x86_64 xtensa_sample_controller \
1919 xtensa_intel_apl_adsp xtensa_intel_s1000"
2020
2121echo " Creating ${product_name} -${sdk_version} -setup.run"
@@ -172,6 +172,7 @@ parse_toolchain_name file_gcc_arm64 arm64
172172parse_toolchain_name file_gcc_arc arc
173173parse_toolchain_name file_gcc_nios2 nios2
174174parse_toolchain_name file_gcc_riscv64 riscv64
175+ parse_toolchain_name file_gcc_sparc sparc
175176parse_toolchain_name file_gcc_x86_64 x86_64-zephyr-elf
176177parse_toolchain_name file_gcc_xtensa_sample_controller xtensa_sample_controller
177178parse_toolchain_name file_gcc_xtensa_intel_apl_adsp xtensa_intel_apl_adsp
You can’t perform that action at this time.
0 commit comments