diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2014-11-25 13:41:27 -0700 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2014-11-25 13:41:27 -0700 |
commit | 9e24457e45f9b3ebbdeb9b2e0e95861b88f7a339 (patch) | |
tree | 4f9e0c26652cb0433e84a60db3dc5c06367bd261 | |
parent | 6e9c60f1d48e1f332ccf19107dc68cbe7528e467 (diff) |
add tuning cpu
-rw-r--r-- | config/gcc.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/gcc.conf b/config/gcc.conf index 41c1f14..b26345e 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" ;; |