Skip to content

Commit 1994bc2

Browse files
committed
config: Update configs for new crosstool-ng
Upstream crosstool supports building newlib-nano so we dropped the zephyr specific changes here, however the configs are a bit different so we need to update things for that: * disabled CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE * remove old nano confg * remove CT_CC_GCC_LIBSTDCXX_NANO * Add new nano config that match the old ones Signed-off-by: Kumar Gala <[email protected]>
1 parent f5bd104 commit 1994bc2

17 files changed

+493
-221
lines changed

configs/arc.config

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CT_NEWLIB_SRC_DEVEL=y
1414
CT_NEWLIB_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
1515
CT_NEWLIB_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
1616
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
17+
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
1718
CT_LIBC_NEWLIB_IO_LL=y
1819
CT_LIBC_NEWLIB_IO_FLOAT=y
1920
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
@@ -26,23 +27,38 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2627
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2728
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
2829
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
29-
CT_LIBC_NANO_NEWLIB=y
30-
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
31-
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
32-
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
33-
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
34-
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
35-
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
36-
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
37-
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
38-
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
39-
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
40-
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
4130
CT_GCC_V_10=y
4231
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
4332
CT_CC_LANG_CXX=y
44-
CT_CC_GCC_LIBSTDCXX_NANO=y
4533
CT_DEBUG_GDB=y
4634
CT_GDB_V_9_2=y
4735
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
4836
CT_GDB_CROSS_BUILD_NO_PYTHON=y
37+
CT_COMP_LIBS_NEWLIB_NANO=y
38+
CT_NEWLIB_NANO_SRC_DEVEL=y
39+
CT_NEWLIB_NANO_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
40+
CT_NEWLIB_NANO_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
41+
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
42+
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
43+
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
44+
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
45+
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
46+
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
47+
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
48+
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
49+
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
50+
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
51+
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
52+
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
53+
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
54+
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
55+
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
56+
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
57+
# CT_LIBC_NEWLIB_NANO_MULTITHREAD is not set
58+
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
59+
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
60+
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
61+
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
62+
# CT_LIBC_NEWLIB_NANO_LTO is not set
63+
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
64+
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y

configs/arm.config

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CT_NEWLIB_SRC_DEVEL=y
1414
CT_NEWLIB_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
1515
CT_NEWLIB_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
1616
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
17+
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
1718
CT_LIBC_NEWLIB_IO_LL=y
1819
CT_LIBC_NEWLIB_IO_FLOAT=y
1920
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
@@ -26,24 +27,39 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2627
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2728
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
2829
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
29-
CT_LIBC_NANO_NEWLIB=y
30-
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
31-
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
32-
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
33-
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
34-
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
35-
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
36-
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
37-
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
38-
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
39-
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
40-
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
4130
CT_GCC_V_10=y
4231
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
4332
CT_CC_GCC_MULTILIB_LIST="rmprofile"
4433
CT_CC_LANG_CXX=y
45-
CT_CC_GCC_LIBSTDCXX_NANO=y
4634
CT_DEBUG_GDB=y
4735
CT_GDB_V_9_2=y
4836
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
4937
CT_GDB_CROSS_BUILD_NO_PYTHON=y
38+
CT_COMP_LIBS_NEWLIB_NANO=y
39+
CT_NEWLIB_NANO_SRC_DEVEL=y
40+
CT_NEWLIB_NANO_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
41+
CT_NEWLIB_NANO_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
42+
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
43+
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
44+
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
45+
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
46+
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
47+
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
48+
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
49+
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
50+
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
51+
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
52+
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
53+
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
54+
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
55+
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
56+
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
57+
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
58+
# CT_LIBC_NEWLIB_NANO_MULTITHREAD is not set
59+
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
60+
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
61+
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
62+
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
63+
# CT_LIBC_NEWLIB_NANO_LTO is not set
64+
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
65+
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y

configs/arm64.config

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CT_NEWLIB_SRC_DEVEL=y
1414
CT_NEWLIB_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
1515
CT_NEWLIB_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
1616
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
17+
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
1718
CT_LIBC_NEWLIB_IO_LL=y
1819
CT_LIBC_NEWLIB_IO_FLOAT=y
1920
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
@@ -26,24 +27,39 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2627
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2728
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
2829
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
29-
CT_LIBC_NANO_NEWLIB=y
30-
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
31-
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
32-
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
33-
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
34-
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
35-
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
36-
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
37-
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
38-
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
39-
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
40-
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
4130
CT_GCC_V_10=y
4231
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
4332
CT_CC_LANG_CXX=y
44-
CT_CC_GCC_LIBSTDCXX_NANO=y
4533
CT_DEBUG_GDB=y
4634
CT_GDB_V_9_2=y
4735
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
4836
CT_GDB_CROSS_BUILD_NO_PYTHON=y
4937
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--enable-targets=arm-zephyr-eabi"
38+
CT_COMP_LIBS_NEWLIB_NANO=y
39+
CT_NEWLIB_NANO_SRC_DEVEL=y
40+
CT_NEWLIB_NANO_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
41+
CT_NEWLIB_NANO_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
42+
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
43+
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
44+
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
45+
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
46+
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
47+
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
48+
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
49+
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
50+
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
51+
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
52+
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
53+
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
54+
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
55+
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
56+
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
57+
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
58+
# CT_LIBC_NEWLIB_NANO_MULTITHREAD is not set
59+
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
60+
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
61+
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
62+
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
63+
# CT_LIBC_NEWLIB_NANO_LTO is not set
64+
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
65+
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y

configs/i586.config

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CT_NEWLIB_SRC_DEVEL=y
1515
CT_NEWLIB_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
1616
CT_NEWLIB_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
1717
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
18+
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
1819
CT_LIBC_NEWLIB_IO_LL=y
1920
CT_LIBC_NEWLIB_IO_FLOAT=y
2021
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
@@ -27,23 +28,38 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2728
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2829
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
2930
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
30-
CT_LIBC_NANO_NEWLIB=y
31-
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
32-
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
33-
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
34-
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
35-
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
36-
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
37-
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
38-
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
39-
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
40-
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
41-
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
4231
CT_GCC_V_10=y
4332
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
4433
CT_CC_LANG_CXX=y
45-
CT_CC_GCC_LIBSTDCXX_NANO=y
4634
CT_DEBUG_GDB=y
4735
CT_GDB_V_9_2=y
4836
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
4937
CT_GDB_CROSS_BUILD_NO_PYTHON=y
38+
CT_COMP_LIBS_NEWLIB_NANO=y
39+
CT_NEWLIB_NANO_SRC_DEVEL=y
40+
CT_NEWLIB_NANO_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
41+
CT_NEWLIB_NANO_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
42+
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
43+
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
44+
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
45+
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
46+
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
47+
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
48+
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
49+
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
50+
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
51+
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
52+
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
53+
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
54+
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
55+
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
56+
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
57+
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
58+
# CT_LIBC_NEWLIB_NANO_MULTITHREAD is not set
59+
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
60+
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
61+
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
62+
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
63+
# CT_LIBC_NEWLIB_NANO_LTO is not set
64+
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
65+
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y

configs/iamcu.config

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CT_NEWLIB_SRC_DEVEL=y
1515
CT_NEWLIB_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
1616
CT_NEWLIB_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
1717
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
18+
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
1819
CT_LIBC_NEWLIB_IO_LL=y
1920
CT_LIBC_NEWLIB_IO_FLOAT=y
2021
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
@@ -27,23 +28,38 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2728
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2829
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
2930
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
30-
CT_LIBC_NANO_NEWLIB=y
31-
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
32-
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
33-
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
34-
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
35-
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
36-
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
37-
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
38-
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
39-
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
40-
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
41-
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
4231
CT_GCC_V_10=y
4332
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
4433
CT_CC_LANG_CXX=y
45-
CT_CC_GCC_LIBSTDCXX_NANO=y
4634
CT_DEBUG_GDB=y
4735
CT_GDB_V_9_2=y
4836
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
4937
CT_GDB_CROSS_BUILD_NO_PYTHON=y
38+
CT_COMP_LIBS_NEWLIB_NANO=y
39+
CT_NEWLIB_NANO_SRC_DEVEL=y
40+
CT_NEWLIB_NANO_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
41+
CT_NEWLIB_NANO_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
42+
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
43+
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
44+
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
45+
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
46+
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
47+
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
48+
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
49+
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
50+
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
51+
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
52+
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
53+
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
54+
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
55+
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
56+
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
57+
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
58+
# CT_LIBC_NEWLIB_NANO_MULTITHREAD is not set
59+
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
60+
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
61+
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
62+
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
63+
# CT_LIBC_NEWLIB_NANO_LTO is not set
64+
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
65+
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y

configs/mips.config

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ CT_NEWLIB_SRC_DEVEL=y
1313
CT_NEWLIB_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
1414
CT_NEWLIB_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
1515
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
16+
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
1617
CT_LIBC_NEWLIB_IO_LL=y
1718
CT_LIBC_NEWLIB_IO_FLOAT=y
1819
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
@@ -25,23 +26,38 @@ CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
2526
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
2627
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
2728
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
28-
CT_LIBC_NANO_NEWLIB=y
29-
CT_LIBC_NANO_NEWLIB_IO_FLOAT=y
30-
# CT_LIBC_NANO_NEWLIB_FSEEK_OPTIMIZATION is not set
31-
CT_LIBC_NANO_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
32-
CT_LIBC_NANO_NEWLIB_GLOBAL_ATEXIT=y
33-
CT_LIBC_NANO_NEWLIB_LITE_EXIT=y
34-
# CT_LIBC_NANO_NEWLIB_MULTITHREAD is not set
35-
CT_LIBC_NANO_NEWLIB_RETARGETABLE_LOCKING=y
36-
# CT_LIBC_NANO_NEWLIB_WIDE_ORIENT is not set
37-
CT_LIBC_NANO_NEWLIB_NANO_MALLOC=y
38-
CT_LIBC_NANO_NEWLIB_NANO_FORMATTED_IO=y
39-
CT_LIBC_NANO_NEWLIB_EXTRA_SECTIONS=y
4029
CT_GCC_V_10=y
4130
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
4231
CT_CC_LANG_CXX=y
43-
CT_CC_GCC_LIBSTDCXX_NANO=y
4432
CT_DEBUG_GDB=y
4533
CT_GDB_V_9_2=y
4634
CT_GDB_CROSS_PYTHON_BINARY="python3.8"
4735
CT_GDB_CROSS_BUILD_NO_PYTHON=y
36+
CT_COMP_LIBS_NEWLIB_NANO=y
37+
CT_NEWLIB_NANO_SRC_DEVEL=y
38+
CT_NEWLIB_NANO_DEVEL_URL="https://github.com/zephyrproject-rtos/newlib-cygwin.git"
39+
CT_NEWLIB_NANO_DEVEL_REVISION="b1fe4401fdbd0860e0b91227219b15d2e0142b78"
40+
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
41+
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
42+
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
43+
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
44+
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
45+
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
46+
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
47+
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
48+
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
49+
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
50+
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
51+
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
52+
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
53+
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
54+
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
55+
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
56+
# CT_LIBC_NEWLIB_NANO_MULTITHREAD is not set
57+
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
58+
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
59+
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
60+
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
61+
# CT_LIBC_NEWLIB_NANO_LTO is not set
62+
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
63+
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y

0 commit comments

Comments
 (0)