Skip to content

Commit b1afee1

Browse files
committed
aarch64 support
Signed-off-by: Kumar Gala <[email protected]>
1 parent 08d81f0 commit b1afee1

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

.shippable.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
matrix:
99
- TARGET=nios2
1010
- TARGET=arm
11+
- TARGET=arm64
1112
- TARGET=riscv64
1213
- TARGET=arc
1314
- TARGET=x86_64-zephyr-elf

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Currently we build the following toolchains:
1111
- i586
1212
- nios2
1313
- arm
14+
- arm64
1415
- riscv64
1516
- xtensa
1617

configs/arm64.config

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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_ARM=y
9+
CT_MULTILIB=y
10+
CT_ARCH_64=y
11+
CT_TARGET_VENDOR="zephyr"
12+
CT_LIBC_NEWLIB_TARGET_CFLAGS="-DMISSING_SYSCALL_NAMES"
13+
CT_LIBC_NEWLIB_IO_FLOAT=y
14+
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
15+
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
16+
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
17+
CT_LIBC_NEWLIB_LITE_EXIT=y
18+
# CT_LIBC_NEWLIB_MULTITHREAD is not set
19+
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
20+
CT_LIBC_NEWLIB_NANO_MALLOC=y
21+
CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y
22+
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
23+
CT_CC_LANG_CXX=y
24+
CT_DEBUG_GDB=y
25+
CT_ISL_V_0_18=y
26+
CT_LIBICONV_NEEDED=y

scripts/make_zephyr_sdk.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ product_name="zephyr-sdk"
1515

1616
root_dir=$(dirname $0)/..
1717
sdk_version=$(cat $root_dir/VERSION)
18-
arch_list="x86 arm arc nios2 riscv64 x86_64 xtensa_sample_controller \
18+
arch_list="x86 arm arm64 arc nios2 riscv64 x86_64 xtensa_sample_controller \
1919
xtensa_intel_apl_adsp xtensa_intel_s1000"
2020

2121
echo "Creating ${product_name}-${sdk_version}-setup.run"
@@ -164,6 +164,7 @@ create_sdk()
164164
}
165165

166166
parse_toolchain_name file_gcc_arm arm
167+
parse_toolchain_name file_gcc_arm64 arm64
167168
parse_toolchain_name file_gcc_arc arc
168169
parse_toolchain_name file_gcc_nios2 nios2
169170
parse_toolchain_name file_gcc_riscv64 riscv64

0 commit comments

Comments
 (0)