kumquat-buildroot/arch
Thomas Petazzoni d3539dd53b arch: pass cpu option instead of tune option on ARM
Currently, the ARM Config.in logic specifies values for
--with-arch/-march and --with-tune/-mtune, but not for
--with-cpu/-mcpu. However, this causes problems on ARMv4, because
specifying --with-arch=armv4t isn't enough to make gcc generate ARMv4
code: one should also pass --with-cpu=<some ARMv4 CPU>.

Moreover, since Buildroot is generally designed to generate code
specifically for the configured target, it makes sense to give our own
--with-cpu/-mcpu value instead of relying on the default value used by
gcc, and only do small optimizations with -mtune.

Reported-by: Adam Hussein <kryme76@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-12-26 23:19:04 +01:00
..
Config.in arch/Config.in: introduce BR2_KERNEL_64_USERLAND_32 symbol 2013-10-30 22:59:03 +01:00
Config.in.aarch64
Config.in.arc Revert "arc: Add option for ARC-specific download site" 2013-12-06 22:45:13 +01:00
Config.in.arm arch: pass cpu option instead of tune option on ARM 2013-12-26 23:19:04 +01:00
Config.in.avr32 avr32: pass target arch to gcc 2013-11-06 22:37:42 +01:00
Config.in.bfin arch: use tabs instead of spaces in Config.in files 2013-07-16 15:32:31 +02:00
Config.in.m68k arch: Config.in string configuration options must be quoted 2012-11-15 16:39:51 +01:00
Config.in.microblaze
Config.in.mips Mark MIPS I, II, III and IV as deprecated 2013-11-20 13:44:27 +01:00
Config.in.nios2 nios2: Add new architecture 2013-09-02 21:38:45 +02:00
Config.in.powerpc arch: Refactor BR2_SOFT_FLOAT into per-architecture options 2013-07-16 14:35:07 +02:00
Config.in.sh
Config.in.sparc arch/sparc: drop unused variants 2013-11-28 15:18:29 +01:00
Config.in.x86 arch: fix BR2_ARCH for generic target variant 2012-12-20 15:15:24 +01:00
Config.in.xtensa xtensa: use uppercase for configurations and modified overlay structure 2012-11-21 11:08:50 +01:00