# HG changeset patch # User Yann Diorcet # Date 1353357598 -3600 # Node ID f32c0f8ffaa359ba8c288072ff2c867da63f2a66 # Parent 1c56c03b7ed5684efc0cdf02559bf61287f4ffd3 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 [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" Message-Id: Patchwork-Id: 199971 diff -r 1c56c03b7ed5 -r f32c0f8ffaa3 config/binutils.in --- a/config/binutils.in Fri Nov 16 15:25:57 2012 +0100 +++ b/config/binutils.in Mon Nov 19 21:39:58 2012 +0100 @@ -6,22 +6,18 @@ bool prompt "Binary format:" -if ARCH_USE_MMU || BARE_METAL - config ARCH_BINFMT_ELF bool prompt "ELF" + depends on ARCH_USE_MMU || BARE_METAL help This will make your system build ELF executables, suitable for architectures with an MMU. -endif # ARCH_USE_MMU - -if ! ARCH_USE_MMU - config ARCH_BINFMT_FLAT bool prompt "Flat" + depends on ! ARCH_USE_MMU help This will build flat binaries, suitable for MMU-less architectures. @@ -29,13 +25,12 @@ config ARCH_BINFMT_FDPIC bool prompt "FD_PIC ELF" + depends on ! ARCH_USE_MMU 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"