kumquat-buildroot/arch
Thomas Petazzoni 158001f57b 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>
2014-12-12 00:09:02 +01:00
..
Config.in Turn the static lib option into a choice with more options 2014-12-12 00:09:02 +01:00
Config.in.aarch64
Config.in.arc arc: add support of ARC HS38 core 2014-11-02 22:25:27 +01:00
Config.in.arm arch/arm: remove BR2_GCC_TARGET_ARCH definitions on ARM 2014-11-07 00:07:34 +01:00
Config.in.avr32 arch/avr32: always has atomic ops 2014-08-18 11:01:22 +02:00
Config.in.bfin arch/bfin: always has atomic ops 2014-08-18 11:01:31 +02:00
Config.in.m68k arch/m68k: get rid of BR2_GCC_TARGET_TUNE 2014-11-07 00:14:13 +01:00
Config.in.microblaze arch/microblaze: always has atomic ops 2014-08-18 11:02:31 +02:00
Config.in.mips arch/mips: remove deprecated mips1/2/3/4 support 2014-12-01 20:06:32 +01:00
Config.in.nios2 arch/nios2: always has atomic ops 2014-08-18 11:02:51 +02:00
Config.in.powerpc arch/powerpc: add fsl e5500 and e6500 support 2014-12-07 23:46:41 +01:00
Config.in.sh arch/sh: always has atomic ops 2014-08-18 11:03:02 +02:00
Config.in.sparc arch/sparc: get rid of BR2_GCC_TARGET_TUNE 2014-11-07 00:13:08 +01:00
Config.in.x86 arch/Config.in.x86: drop BR2_x86_generic 2014-11-07 19:51:06 +01:00
Config.in.xtensa arch/xtensa: always has atomic ops 2014-08-18 11:03:28 +02:00