aboutsummaryrefslogtreecommitdiff
path: root/config/gcc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/gcc.conf')
-rw-r--r--config/gcc.conf13
1 files changed, 7 insertions, 6 deletions
diff --git a/config/gcc.conf b/config/gcc.conf
index 6882bab8..81d259d2 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"
;;
@@ -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