summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-05-07 23:27:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-09 00:27:40 +0200
commit43e77cf53ff96cc18eeaa1e3599a815172380080 (patch)
treeaaf1319d19ed164b37ffaaa8ace336ad5d44cb7b
parentaebf199ff034460c817782c1b14ec4e8c75a8959 (diff)
downloadbuildroot-novena-43e77cf53ff96cc18eeaa1e3599a815172380080.tar.gz
buildroot-novena-43e77cf53ff96cc18eeaa1e3599a815172380080.zip
blackfin: adjust available ABIs
The FLAT (Separate Data) and FLAT Shared ABIs are rarely used, and the FLAT Shared ABI requires the user to manually assign an unique ID to each shared library, which we will never support in Buildroot. Therefore, restrict ourselves to FLAT and FDPIC. In addition to this, ensure that when FLAT is selected, only static libraries are produced, because this is what FLAT supports. It will fix problems such as http://autobuild.buildroot.org/results/2d756d75162e8737e99df8189bde93ed1a09feef/build-end.log. Moreover, we make FDPIC the default ABI, since if someone is using Buildroot, it's most likely to generate a fairly elaborate embedded Linux system, on which shared libraries are probably useful. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--target/Config.in.arch7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/Config.in.arch b/target/Config.in.arch
index 941cd1bed..a42bfd6b0 100644
--- a/target/Config.in.arch
+++ b/target/Config.in.arch
@@ -228,15 +228,12 @@ endchoice
choice
prompt "Target ABI"
depends on BR2_bfin
- default BR2_BFIN_FLAT
+ default BR2_BFIN_FDPIC
config BR2_BFIN_FDPIC
bool "FDPIC"
config BR2_BFIN_FLAT
bool "FLAT"
-config BR2_BFIN_FLAT_SEP_DATA
- bool "FLAT (Separate data)"
-config BR2_BFIN_SHARED_FLAT
- bool "Shared FLAT"
+ select BR2_PREFER_STATIC_LIB
endchoice
choice