mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
820f877df0
When building a baremetal cross compiler I want to be able to select the elf format and not be forced to build the elf2flt package. Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Yann E. MORIN: tweak the commit message] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
46 lines
832 B
Plaintext
46 lines
832 B
Plaintext
# Binary utilities menu
|
|
|
|
menu "Binary utilities"
|
|
|
|
choice
|
|
bool
|
|
prompt "Binary format:"
|
|
|
|
if ARCH_USE_MMU || BARE_METAL
|
|
|
|
config ARCH_BINFMT_ELF
|
|
bool
|
|
prompt "ELF"
|
|
help
|
|
This will make your system build ELF exectubales,
|
|
suitable for architectures with an MMU.
|
|
|
|
endif # ARCH_USE_MMU
|
|
|
|
if ! ARCH_USE_MMU
|
|
|
|
config ARCH_BINFMT_FLAT
|
|
bool
|
|
prompt "Flat"
|
|
help
|
|
This will build flat binaries, suitable for
|
|
MMU-less architectures.
|
|
|
|
config ARCH_BINFMT_FDPIC
|
|
bool
|
|
prompt "FD_PIC ELF"
|
|
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"
|
|
source "config/binutils/elf2flt.in"
|
|
source "config/binutils/sstrip.in"
|
|
|
|
endmenu
|