summaryrefslogtreecommitdiffstats
path: root/arch/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-03 22:41:30 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-11 22:48:57 +0100
commitc149083f933b7e60f606e6e6ffe478c37538bc37 (patch)
tree3355d175b8b8066a6dae6b98e8b6aec2ca953ed8 /arch/Config.in
parent665e13c85e1fd216499cdd335a88a4d1c20f175f (diff)
downloadbuildroot-c149083f933b7e60f606e6e6ffe478c37538bc37.tar.gz
buildroot-c149083f933b7e60f606e6e6ffe478c37538bc37.zip
arch: FDPIC is not supported on m68k
The current binfmt selection in arch/Config.in allows to select FDPIC on m68k, which is incorrect. This commit fixes that, and makes sure FDPIC is the default on Blackfin, while FLAT is the default on m68k. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'arch/Config.in')
-rw-r--r--arch/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/Config.in b/arch/Config.in
index 2779ab60cd..3bac18771b 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -255,7 +255,8 @@ config BR2_ARCH_HAS_ATOMICS
choice
prompt "Target Binary Format"
depends on BR2_bfin || BR2_m68k
- default BR2_BINFMT_FDPIC
+ default BR2_BINFMT_FDPIC if BR2_bfin
+ default BR2_BINFMT_FLAT if BR2_m68k
config BR2_BINFMT_ELF
bool "ELF"
@@ -267,7 +268,7 @@ config BR2_BINFMT_ELF
config BR2_BINFMT_FDPIC
bool "FDPIC"
- depends on BR2_bfin || BR2_m68k
+ depends on BR2_bfin
help
ELF FDPIC binaries are based on ELF, but allow the individual load
segments of a binary to be located in memory independently of each
OpenPOWER on IntegriCloud