config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Oct 08 23:29:45 2009 +0200 (2009-10-08)
changeset 1567 56bba7d4fc89
parent 1345 27fec561af53
child 1854 02b74bd4373f
permissions -rw-r--r--
samples: fix the avr32-unknown-none sample

Bizarely enough, binutils-2.18 fails to build when CONFIG_SHELL is set
to /bin/bash (although it has code to recognise bash and act accordingly).

Waht is really strange is that it does build when CONFIG_SHELL is set
to /bin/sh, *although* /bin/sh is a symlink to /bin/bash. WTF?!?!
yann@1345
     1
# Binary utilities menu
yann@1
     2
yann@1345
     3
menu "Binary utilities"
yann@1
     4
yann@1
     5
choice
yann@1
     6
    bool
yann@1345
     7
    prompt "Binary format:"
yann@1
     8
yann@1345
     9
if ARCH_USE_MMU
yann@1345
    10
yann@1345
    11
config ARCH_BINFMT_ELF
yann@1
    12
    bool
yann@1345
    13
    prompt "ELF"
yann@1345
    14
    help
yann@1345
    15
      This will make your system build ELF exectubales,
yann@1345
    16
      suitable for architectures with an MMU.
yann@1
    17
yann@1345
    18
endif # ARCH_USE_MMU
yann@1345
    19
yann@1345
    20
if ! ARCH_USE_MMU
yann@1345
    21
yann@1345
    22
config ARCH_BINFMT_FLAT
yann@1
    23
    bool
yann@1345
    24
    prompt "Flat"
yann@1345
    25
    help
yann@1345
    26
      This will build flat binaries, suitable for
yann@1345
    27
      MMU-less architectures.
yann@1
    28
yann@1346
    29
#config ARCH_BINFMT_FDPIC
yann@1346
    30
#    bool
yann@1346
    31
#    prompt "FD_PIC ELF"
yann@1346
    32
#    help
yann@1346
    33
#      This will build FD_PIC ELF binaries, suitable for
yann@1346
    34
#      MMU-less architectures that still require to use
yann@1346
    35
#      shared libraries (FIXME).
yann@1
    36
yann@1345
    37
endif # ! ARCH_USE_MMU
yann@1
    38
yann@1
    39
endchoice
yann@1
    40
yann@1345
    41
source config/binutils/binutils.in
yann@1345
    42
source config/binutils/elf2flt.in
yann@458
    43
yann@1
    44
endmenu