From ec9ddee933d16b5126dc6ba6c94ed428dd01ab75 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 11 Jan 2017 10:20:02 -0800 Subject: Remove 2nd copy of the option. Added above, as part of the list. Signed-off-by: Alexey Neyman --- scripts/build/libc/newlib.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 0a87581e..7a6b194f 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -119,8 +119,6 @@ ENABLE_TARGET_OPTSPACE:target-optspace [ "${CT_LIBC_NEWLIB_LTO}" = "y" ] && \ CT_LIBC_NEWLIB_TARGET_CFLAGS="${CT_LIBC_NEWLIB_TARGET_CFLAGS} -flto" - [ "${CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE}" = "y" ] && newlib_opts+=("--enable-target-optspace") - cflags_for_target="${CT_TARGET_CFLAGS} ${CT_LIBC_NEWLIB_TARGET_CFLAGS}" # Note: newlib handles the build/host/target a little bit differently -- cgit v1.2.3 From 01a4bed794d3474df1e1f7ab03aa925b69668fbf Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 11 Jan 2017 10:24:06 -0800 Subject: install_root has no effect on newlib install. And never had, at least since newlib 1.17 (first version added to crosstool-ng). Apparently, copy-pasted from glibc.sh. Signed-off-by: Alexey Neyman --- scripts/build/libc/newlib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 7a6b194f..e0e42e28 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -142,7 +142,7 @@ ENABLE_TARGET_OPTSPACE:target-optspace CT_DoExecLog ALL make ${JOBSFLAGS} CT_DoLog EXTRA "Installing C library" - CT_DoExecLog ALL make install install_root="${CT_SYSROOT_DIR}" + CT_DoExecLog ALL make install if [ "${CT_BUILD_MANUALS}" = "y" ]; then local -a doc_dir="${CT_BUILD_DIR}/build-libc/${CT_TARGET}" -- cgit v1.2.3 From fddbf8f99e5e4ca6d38ab89064b7017111031182 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 11 Jan 2017 16:56:12 -0800 Subject: AVR32 support has been retired. Scripts no longer download avr-headers. Signed-off-by: Alexey Neyman --- scripts/build/libc/newlib.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index e0e42e28..100dc1ab 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -5,10 +5,6 @@ # Edited by Martin Lund # -LIBC_NEWLIB_AVR_HDRS_URI="http://www.atmel.com/Images" -LIBC_NEWLIB_AVR_HDRS_BASE="avr-headers-3.2.3.970" -LIBC_NEWLIB_AVR_HDRS_EXT=".zip" - do_libc_get() { local libc_src="{http://mirrors.kernel.org/sourceware/newlib, ftp://sourceware.org/pub/newlib}" -- cgit v1.2.3