From ff15642e8f22a4e67af49022543c2764883d3bf8 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sun, 23 Nov 2014 15:27:24 -0700 Subject: change sysroot path --- config/gcc.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/gcc.conf') diff --git a/config/gcc.conf b/config/gcc.conf index 45576c64..41c1f14f 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -145,7 +145,8 @@ if test x"${build}" != x"${target}"; then fi # The sysroot path depends on the C library version. if test x"${tarbin}" = xyes; then - local sysroot="/opt/linaro/sysroot-${libc_version}-${target}" +# local sysroot="/opt/linaro/sysroot-${libc_version}-${target}/libc" + local sysroot="${local_builds}/destdir/${host}/libc" else local sysroot="${local_builds}/sysroot-${target}" fi -- cgit v1.2.3 From 9e24457e45f9b3ebbdeb9b2e0e95861b88f7a339 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Tue, 25 Nov 2014 13:41:27 -0700 Subject: add tuning cpu --- config/gcc.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config/gcc.conf') diff --git a/config/gcc.conf b/config/gcc.conf index 41c1f14f..b26345e7 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -74,24 +74,24 @@ if test x"${build}" != x"${target}"; then # Add platform specific flags case ${target} in arm-*linux-gnueabi) - default_configure_flags="${default_configure_flags} --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-mode=thumb" + default_configure_flags="${default_configure_flags} --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-mode=thumb" need_qemu=yes ;; arm-*linux-gnueabihf) - default_configure_flags="${default_configure_flags} --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb" + default_configure_flags="${default_configure_flags} --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb" need_qemu=no ;; armeb-*linux-gnueabi) - default_configure_flags="${default_configure_flags} --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-mode=thumb --disable-multilib" + default_configure_flags="${default_configure_flags} --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=softfp --with-mode=thumb --disable-multilib" need_qemu=yes ;; armeb-*linux-gnueabihf) - default_configure_flags="${default_configure_flags} --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-multilib" + default_configure_flags="${default_configure_flags} --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-multilib" need_qemu=yes ;; # bare metal targets don't support threads. arm*-elf|arm*-eabi*) - default_configure_flags="${default_configure_flags} --enable-threads=no" + default_configure_flags="${default_configure_flags} --with-tune=cortex-a9 --enable-threads=no --with-arch=armv7-a --with-fpu=vfpv3-d16" need_qemu=yes languages="c,c++,lto" ;; -- cgit v1.2.3 From 20f0b9dd0ae2e9b017be2b14bdf65a36d19406b4 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Wed, 10 Dec 2014 15:09:09 -0700 Subject: put the sysroot under a target directory --- config/gcc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/gcc.conf') diff --git a/config/gcc.conf b/config/gcc.conf index b26345e7..9a5fb25b 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -146,7 +146,7 @@ if test x"${build}" != x"${target}"; then # The sysroot path depends on the C library version. if test x"${tarbin}" = xyes; then # local sysroot="/opt/linaro/sysroot-${libc_version}-${target}/libc" - local sysroot="${local_builds}/destdir/${host}/libc" + local sysroot="${local_builds}/destdir/${target}/libc" else local sysroot="${local_builds}/sysroot-${target}" fi -- cgit v1.2.3 From 761904fbb4b93172cc579293e0c5a500d8b59b08 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Tue, 16 Dec 2014 15:28:43 -0700 Subject: Revert "put the sysroot under a target directory" This reverts commit 20f0b9dd0ae2e9b017be2b14bdf65a36d19406b4. Broke tarballs. --- config/gcc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/gcc.conf') diff --git a/config/gcc.conf b/config/gcc.conf index 9a5fb25b..b26345e7 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -146,7 +146,7 @@ if test x"${build}" != x"${target}"; then # The sysroot path depends on the C library version. if test x"${tarbin}" = xyes; then # local sysroot="/opt/linaro/sysroot-${libc_version}-${target}/libc" - local sysroot="${local_builds}/destdir/${target}/libc" + local sysroot="${local_builds}/destdir/${host}/libc" else local sysroot="${local_builds}/sysroot-${target}" fi -- cgit v1.2.3