arch: add an option to specify if the arch has atomic ops
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 17 Aug 2014 19:29:40 +0000 (21:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Aug 2014 08:56:35 +0000 (10:56 +0200)
commit1b5f0fc8dfdad74649d4e12737c83e727e116535
treefddfd5b45691f77c7539e743efbab0cf43d90742
parent2289c34a193174967a87b432b56527cf82e0b3c2
arch: add an option to specify if the arch has atomic ops

The fact that atomic operations are available is not really a
specificity of the toolchain, but rather of the architecture.

So, add a new option that architectures that have atomic operations
can select. This in turn selects the current toolchain atomic option,
until all packages have been converted, at which point the old
toolchain option can be removed.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in
arch/Config.in.arc
toolchain/toolchain-common.in