arch: tidy up binary formats config
authorGuido Martínez <guido@vanguardiasur.com.ar>
Wed, 3 Jun 2015 22:34:04 +0000 (19:34 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 20:51:14 +0000 (22:51 +0200)
commit22d5501e03b019218b718b5de7ca74824a8eaf42
treeac611fe6403c724fa9b1c0625f4bd47a237c5325
parent29563047e074a7c0b73c9e6b629d08bac1e07cb5
arch: tidy up binary formats config

Instead of (black)listing architectures when deciding the binary format,
we can enable the ELF format only when using an MMU and FLAT only when
we're not. This mimics the logic in the Linux kernel for user binaries
support.

For FDPIC, we introduce a Kconfig option to enable its selection, and
have blackfin select it.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in