mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-13 22:23:04 +00:00
binutils: cleanup ELF/FLAT/FDPIC dependencies
In preparation of adding a new kernel-type, Yann D. came up with a cleanup pass on the ELF/FLAT/FDPIC dependencies. Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local> Patchwork-Id: 199971
This commit is contained in:
parent
b43fdf40f1
commit
7b7f7e4db2
@ -6,22 +6,18 @@ choice
|
||||
bool
|
||||
prompt "Binary format:"
|
||||
|
||||
if ARCH_USE_MMU || BARE_METAL
|
||||
|
||||
config ARCH_BINFMT_ELF
|
||||
bool
|
||||
prompt "ELF"
|
||||
depends on ARCH_USE_MMU || BARE_METAL
|
||||
help
|
||||
This will make your system build ELF executables,
|
||||
suitable for architectures with an MMU.
|
||||
|
||||
endif # ARCH_USE_MMU
|
||||
|
||||
if ! ARCH_USE_MMU
|
||||
|
||||
config ARCH_BINFMT_FLAT
|
||||
bool
|
||||
prompt "Flat"
|
||||
depends on ! ARCH_USE_MMU
|
||||
help
|
||||
This will build flat binaries, suitable for
|
||||
MMU-less architectures.
|
||||
@ -29,13 +25,12 @@ config ARCH_BINFMT_FLAT
|
||||
config ARCH_BINFMT_FDPIC
|
||||
bool
|
||||
prompt "FD_PIC ELF"
|
||||
depends on ! ARCH_USE_MMU
|
||||
help
|
||||
This will build FD_PIC ELF binaries, suitable for
|
||||
MMU-less architectures that still require to use
|
||||
shared libraries (FIXME).
|
||||
|
||||
endif # ! ARCH_USE_MMU
|
||||
|
||||
endchoice
|
||||
|
||||
source "config/binutils/binutils.in"
|
||||
|
Loading…
x
Reference in New Issue
Block a user