config/binutils.in
author Yann Diorcet <diorcet.yann@gmail.com>
Mon Nov 19 21:45:09 2012 +0100 (2012-11-19)
changeset 3121 5016315d88ba
parent 3117 2b64e1b502cd
child 3123 6a5946fbc728
permissions -rw-r--r--
binutils/binutils: simplify gold dependencies

In preparation of adding a new kernel-type, Yann D. came up
with a change in semantic on binutils/gold availability.

So far, it was architectures' responsibility to declare that
they did support binutils/gold or not. It makes much more sense
that binutils/gold declares its own availability depending on
the current architecture; after all, architectures have no way
to know wether gold supports them, while gold does know it.

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
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
config ARCH_BINFMT_ELF
yann@1
    10
    bool
yann@1345
    11
    prompt "ELF"
diorcet@3120
    12
    depends on ARCH_USE_MMU || BARE_METAL
yann@1345
    13
    help
antony@2564
    14
      This will make your system build ELF executables,
yann@1345
    15
      suitable for architectures with an MMU.
yann@1
    16
yann@1345
    17
config ARCH_BINFMT_FLAT
yann@1
    18
    bool
yann@1345
    19
    prompt "Flat"
diorcet@3120
    20
    depends on ! ARCH_USE_MMU
yann@1345
    21
    help
yann@1345
    22
      This will build flat binaries, suitable for
yann@1345
    23
      MMU-less architectures.
yann@1
    24
thomas@1887
    25
config ARCH_BINFMT_FDPIC
thomas@1887
    26
    bool
thomas@1887
    27
    prompt "FD_PIC ELF"
diorcet@3120
    28
    depends on ! ARCH_USE_MMU
thomas@1887
    29
    help
thomas@1887
    30
      This will build FD_PIC ELF binaries, suitable for
thomas@1887
    31
      MMU-less architectures that still require to use
thomas@1887
    32
      shared libraries (FIXME).
yann@1
    33
yann@1
    34
endchoice
yann@1
    35
yann@1870
    36
source "config/binutils/binutils.in"
yann@1870
    37
source "config/binutils/elf2flt.in"
yann@458
    38
yann@1
    39
endmenu