summaryrefslogtreecommitdiff
path: root/config/binutils.in
diff options
context:
space:
mode:
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"