Kconfig: Move ELF_64BIT out of !BINFMT_DISABLE

Because it's also used by LIBC_MODLIB.
This commit is contained in:
YAMAMOTO Takashi 2020-03-26 12:24:42 +09:00 committed by Xiang Xiao
parent bb09d564db
commit 24c9fa3cd9
2 changed files with 7 additions and 6 deletions

View File

@ -10,6 +10,13 @@ config BINFMT_DISABLE
By default, support for loadable binary formats is built. This logic By default, support for loadable binary formats is built. This logic
may be suppressed be defining this setting. may be suppressed be defining this setting.
config ELF_64BIT
bool "64bit ELF support"
default n
depends on (!BINFMT_DISABLE && ELF) || LIBC_MODLIB
---help---
This option is used to load 64bit ELF files
if !BINFMT_DISABLE if !BINFMT_DISABLE
config PATH_INITIAL config PATH_INITIAL

View File

@ -3,12 +3,6 @@
# see the file kconfig-language.txt in the NuttX tools repository. # see the file kconfig-language.txt in the NuttX tools repository.
# #
config ELF_64BIT
bool "64bit ELF support"
default n
---help---
This option is used to load 64bit ELF files
config ELF_ALIGN_LOG2 config ELF_ALIGN_LOG2
int "Log2 Section Alignment" int "Log2 Section Alignment"
default 2 default 2