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
     1 # Binary utilities menu
     2 
     3 menu "Binary utilities"
     4 
     5 choice
     6     bool
     7     prompt "Binary format:"
     8 
     9 config ARCH_BINFMT_ELF
    10     bool
    11     prompt "ELF"
    12     depends on ARCH_USE_MMU || BARE_METAL
    13     help
    14       This will make your system build ELF executables,
    15       suitable for architectures with an MMU.
    16 
    17 config ARCH_BINFMT_FLAT
    18     bool
    19     prompt "Flat"
    20     depends on ! ARCH_USE_MMU
    21     help
    22       This will build flat binaries, suitable for
    23       MMU-less architectures.
    24 
    25 config ARCH_BINFMT_FDPIC
    26     bool
    27     prompt "FD_PIC ELF"
    28     depends on ! ARCH_USE_MMU
    29     help
    30       This will build FD_PIC ELF binaries, suitable for
    31       MMU-less architectures that still require to use
    32       shared libraries (FIXME).
    33 
    34 endchoice
    35 
    36 source "config/binutils/binutils.in"
    37 source "config/binutils/elf2flt.in"
    38 
    39 endmenu