Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] blackfin: adjust available ABIs
@ 2012-05-08  9:27 Thomas Petazzoni
  2012-05-08  9:27 ` [Buildroot] [PATCH 2/4] libffi: bump to 3.0.11 and add blackfin support Thomas Petazzoni
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2012-05-08  9:27 UTC (permalink / raw)
  To: buildroot

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>
---
 target/Config.in.arch |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/target/Config.in.arch b/target/Config.in.arch
index 941cd1b..a42bfd6 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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-08 22:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08  9:27 [Buildroot] [PATCH 1/4] blackfin: adjust available ABIs Thomas Petazzoni
2012-05-08  9:27 ` [Buildroot] [PATCH 2/4] libffi: bump to 3.0.11 and add blackfin support Thomas Petazzoni
2012-05-08 22:29   ` Peter Korsgaard
2012-05-08  9:27 ` [Buildroot] [PATCH 3/4] speex: make it compilable in Thumb-2 mode Thomas Petazzoni
2012-05-08 22:29   ` Peter Korsgaard
2012-05-08  9:27 ` [Buildroot] [PATCH 4/4] m4: not available on noMMU platforms Thomas Petazzoni
2012-05-08 22:30   ` Peter Korsgaard
2012-05-08 22:28 ` [Buildroot] [PATCH 1/4] blackfin: adjust available ABIs Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox