binutils: cleanup ELF/FLAT/FDPIC dependencies
authorYann Diorcet <diorcet.yann@gmail.com>
Mon Nov 19 21:39:58 2012 +0100 (2012-11-19)
changeset 3120f32c0f8ffaa3
parent 3119 1c56c03b7ed5
child 3121 5016315d88ba
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
config/binutils.in
     1.1 --- a/config/binutils.in	Fri Nov 16 15:25:57 2012 +0100
     1.2 +++ b/config/binutils.in	Mon Nov 19 21:39:58 2012 +0100
     1.3 @@ -6,22 +6,18 @@
     1.4      bool
     1.5      prompt "Binary format:"
     1.6  
     1.7 -if ARCH_USE_MMU || BARE_METAL
     1.8 -
     1.9  config ARCH_BINFMT_ELF
    1.10      bool
    1.11      prompt "ELF"
    1.12 +    depends on ARCH_USE_MMU || BARE_METAL
    1.13      help
    1.14        This will make your system build ELF executables,
    1.15        suitable for architectures with an MMU.
    1.16  
    1.17 -endif # ARCH_USE_MMU
    1.18 -
    1.19 -if ! ARCH_USE_MMU
    1.20 -
    1.21  config ARCH_BINFMT_FLAT
    1.22      bool
    1.23      prompt "Flat"
    1.24 +    depends on ! ARCH_USE_MMU
    1.25      help
    1.26        This will build flat binaries, suitable for
    1.27        MMU-less architectures.
    1.28 @@ -29,13 +25,12 @@
    1.29  config ARCH_BINFMT_FDPIC
    1.30      bool
    1.31      prompt "FD_PIC ELF"
    1.32 +    depends on ! ARCH_USE_MMU
    1.33      help
    1.34        This will build FD_PIC ELF binaries, suitable for
    1.35        MMU-less architectures that still require to use
    1.36        shared libraries (FIXME).
    1.37  
    1.38 -endif # ! ARCH_USE_MMU
    1.39 -
    1.40  endchoice
    1.41  
    1.42  source "config/binutils/binutils.in"