kumquat-buildroot/arch
Sonic Zhang 1b171af3b3 arch: BINFMT_FLAT_SHARED is not really shared for buildroot purposes
Although BINFMT_FLAT_SHARED is indeed a shared library format, it does
not support dynamic library loading with dlopen(). So for buildroot
purposes, BR2_STATIC_LIBS shouldn't be selected.

As it happens, the compiler options that are added for
BINFMT_FLAT_SHARED also make the compiler ignore the -static option, so
we can simply force BR2_STATIC_LIBS and things work out perfectly.

Therefore, remove the select of BR2_BINFMT_SUPPORTS_SHARED from
BINFMT_FLAT_SHARED, which in turn makes sure that BR2_STATIC_LIBS is
selected.

[Arnout: rewrite commit message, add explanatory comment]

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-30 23:07:48 +02:00
..
Config.in arch: BINFMT_FLAT_SHARED is not really shared for buildroot purposes 2015-03-30 23:07:48 +02:00
Config.in.aarch64 arch/arm: always has atomic ops 2014-08-18 11:00:51 +02:00
Config.in.arc arc: add support of ARC HS38 core 2014-11-02 22:25:27 +01:00
Config.in.arm arm: conditionally support regular ARM instructions 2015-02-02 18:32:34 +01: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: add support for AMD steamroller 2015-03-04 22:16:41 +01:00
Config.in.xtensa arch/xtensa: always has atomic ops 2014-08-18 11:03:28 +02:00