path: root/arch
diff options
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-11 23:50:09 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-12 00:09:02 +0100
commit158001f57b47a3fb439ad9093b6703c7edf3f842 (patch)
tree53b850faa2f31abe64a72276a5a99ba37fcd7ea1 /arch
parent6e2b80968f59bb78bda199b89a8eaac5931454e7 (diff)
Turn the static lib option into a choice with more options
This commit turns the single static option into a choice, which offers various possibilities: 1. Build and use static libraries only; 2. Build both shared and static libraries, but use shared libraries; 3. Build and use shared libraries only. On most platforms, (2) is currently the default, and kept as the default in this commit. Of course, on certain platforms (Blackfin, m68k), only option (1) will be available. In addition to the introduction of the Config.in options, this commit also: * Removes the 'select BR2_STATIC_LIBS' from 'BR2_BINFMT_FLAT', since with the use of a choice, we are guaranteed that BR2_STATIC_LIBS will be selected when the binary format is BR2_BINFMT_FLAT, since BR2_STATIC_LIBS will be the only possible solution in the choice. * Changes package/Makefile.in to use the proper --{enable,disable}-{shared,static} options for autotools packages. [Thomas: remove useless empty newline right after 'choice'. Noticed by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'arch')
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/Config.in b/arch/Config.in
index d06ab5e547..890e7e2d40 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -284,7 +284,6 @@ config BR2_BINFMT_FDPIC
bool "FLAT"
depends on BR2_bfin || BR2_m68k
- select BR2_STATIC_LIBS
FLAT binary is a relatively simple and lightweight executable format
based on the original a.out format. It is widely used in environment