summaryrefslogtreecommitdiff
path: root/config/binutils.in
diff options
context:
space:
mode:
authorYann Diorcet <diorcet.yann@gmail.com>2012-11-19 20:39:58 (GMT)
committerYann Diorcet <diorcet.yann@gmail.com>2012-11-19 20:39:58 (GMT)
commit7b7f7e4db241b9d803e64a7cb4a7bce43d62ed55 (patch)
treea02db66dac202d45ee1ae4811026553acf576bab /config/binutils.in
parentb43fdf40f1f90c4c313dda5b74955cc725a88b40 (diff)
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
Diffstat (limited to 'config/binutils.in')
-rw-r--r--config/binutils.in11
1 files changed, 3 insertions, 8 deletions
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"