diff --git a/binfmt/Kconfig b/binfmt/Kconfig index 15e878af37..300a137b09 100644 --- a/binfmt/Kconfig +++ b/binfmt/Kconfig @@ -10,6 +10,13 @@ config BINFMT_DISABLE By default, support for loadable binary formats is built. This logic 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 config PATH_INITIAL diff --git a/binfmt/libelf/Kconfig b/binfmt/libelf/Kconfig index 3d13c71c9d..859ae669bc 100644 --- a/binfmt/libelf/Kconfig +++ b/binfmt/libelf/Kconfig @@ -3,12 +3,6 @@ # 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 int "Log2 Section Alignment" default 2