From 7b7f7e4db241b9d803e64a7cb4a7bce43d62ed55 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Mon, 19 Nov 2012 21:39:58 +0100 Subject: 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 --git a/config/binutils.in b/config/binutils.in index eda06d6..869d819 100644 --- a/config/binutils.in +++ b/config/binutils.in @@ -6,22 +6,18 @@ choice 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_FLAT 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" -- cgit v0.10.2-6-g49f6