kumquat-buildroot/arch
Yann E. MORIN 21c8f1e947 arch/arc: fix atomics selection
Due to a kconfig limitation, we can't select a no-prompt symbol that
gets its dependencies by being conditionally re-defined in one or more
if-blocks, like we currently do for BR2_ARCH_HAS_ATOMICS.

As a workaround to this issue, we just redefine that symbol in the arc
if-block, like we do for all other architectures, except that in the arc
case, the default value is conditional.

Reported-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
[yann.morin.1998@free.fr: indepently re-done a patch similar to the one
 Thomas made on his own]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-11 22:53:08 +02:00
..
Config.in arch: remove no-longer default on atomics option 2014-08-18 11:03:36 +02:00
Config.in.aarch64
Config.in.arc arch/arc: fix atomics selection 2014-09-11 22:53:08 +02:00
Config.in.arm
Config.in.avr32
Config.in.bfin
Config.in.m68k
Config.in.microblaze
Config.in.mips arch/mips: always has atomic ops 2014-08-18 11:02:41 +02:00
Config.in.nios2 arch/nios2: always has atomic ops 2014-08-18 11:02:51 +02:00
Config.in.powerpc arch/powerpc: always has atomic ops 2014-08-18 11:02:57 +02:00
Config.in.sh arch/sh: always has atomic ops 2014-08-18 11:03:02 +02:00
Config.in.sparc arch/sparc: always has atomic ops 2014-08-18 11:03:09 +02:00
Config.in.x86 arch/x86: all x86 but i386 has atomics operations 2014-08-18 11:03:16 +02:00
Config.in.xtensa arch/xtensa: always has atomic ops 2014-08-18 11:03:28 +02:00