diff options
author | Alexey Neyman <stilor@att.net> | 2017-01-13 21:44:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 21:44:33 -0800 |
commit | 949cc86ab755ff4fb5971a304ce97c3885fc360e (patch) | |
tree | 65165d93c3167844d30d73eaef961bf1dec0a76c /scripts/build/libc/newlib.sh | |
parent | 8f1523abea5aee8c648529910a94a33683a96a4a (diff) | |
parent | 01bae4871994429725a34298787a04221fd1368d (diff) | |
download | crosstool-ng-949cc86ab755ff4fb5971a304ce97c3885fc360e.tar.gz crosstool-ng-949cc86ab755ff4fb5971a304ce97c3885fc360e.tar.bz2 crosstool-ng-949cc86ab755ff4fb5971a304ce97c3885fc360e.zip |
Merge pull request #526 from stilor/double-include
Avoid creating include/include
Diffstat (limited to 'scripts/build/libc/newlib.sh')
-rw-r--r-- | scripts/build/libc/newlib.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 06e88e4d..0c0c2aa3 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -5,10 +5,6 @@ # Edited by Martin Lund <mgl@doredevelopment.dk> # -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}" @@ -122,8 +118,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 @@ -147,7 +141,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}" |