aboutsummaryrefslogtreecommitdiff
path: root/config/gcc.conf
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-12-22 14:21:53 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-12-22 14:21:53 +0000
commitbd8931bc89112a7f11f3823b8901962f58b6e1d9 (patch)
treec9212d659b04c13474b4c25082f2763ffacfb994 /config/gcc.conf
parent0b8ed81579dde83fd6098356f47b9b7766f2b6ea (diff)
parent5056b0ca3a5b17d24f5ebb8108edf8938b4890e2 (diff)
Merge branch 'master' into merge
Conflicts: README config/boards/tcwgblack.exp config/gcc.conf config/linaro.exp jenkins.sh lib/make.sh scripts/BuildFarm.job
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