2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-10-24 18:46:12 +02:00
|
|
|
|
|
|
|
config BINFMT_DISABLE
|
2018-07-09 02:24:45 +02:00
|
|
|
bool "Disable BINFMT support"
|
2023-08-07 10:32:26 +02:00
|
|
|
default DEFAULT_SMALL
|
2012-10-24 18:46:12 +02:00
|
|
|
---help---
|
|
|
|
By default, support for loadable binary formats is built. This logic
|
2021-03-10 21:13:31 +01:00
|
|
|
may be suppressed by defining this setting.
|
2012-10-24 18:46:12 +02:00
|
|
|
|
|
|
|
if !BINFMT_DISABLE
|
|
|
|
|
2012-12-16 22:15:27 +01:00
|
|
|
config PATH_INITIAL
|
|
|
|
string "Initial PATH Value"
|
|
|
|
default ""
|
2021-08-01 09:27:08 +02:00
|
|
|
depends on LIBC_ENVPATH
|
2012-12-16 22:15:27 +01:00
|
|
|
---help---
|
|
|
|
The initial value of the PATH variable. This is the colon-separated
|
|
|
|
list of absolute paths. E.g., "/bin:/usr/bin:/sbin"
|
|
|
|
|
2018-08-05 16:09:54 +02:00
|
|
|
config BINFMT_LOADABLE
|
|
|
|
bool
|
2024-03-15 04:19:34 +01:00
|
|
|
select MODULES
|
2018-08-05 16:09:54 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Automatically selected if a loadable binary format is selected.
|
|
|
|
|
|
|
|
config PIC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Automatically selected if the binary format requires position
|
|
|
|
independent operation.
|
|
|
|
|
2012-10-24 18:46:12 +02:00
|
|
|
config NXFLAT
|
|
|
|
bool "Enable the NXFLAT Binary Format"
|
|
|
|
default n
|
2018-08-05 16:09:54 +02:00
|
|
|
select BINFMT_LOADABLE
|
2012-12-11 19:04:04 +01:00
|
|
|
select PIC
|
2012-10-24 18:46:12 +02:00
|
|
|
---help---
|
|
|
|
Enable support for the NXFLAT binary format. Default: n
|
|
|
|
|
|
|
|
if NXFLAT
|
2021-07-20 13:10:10 +02:00
|
|
|
source "binfmt/libnxflat/Kconfig"
|
2012-10-24 18:46:12 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
config ELF
|
|
|
|
bool "Enable the ELF Binary Format"
|
|
|
|
default n
|
2018-08-05 16:09:54 +02:00
|
|
|
select BINFMT_LOADABLE
|
2017-01-21 21:40:26 +01:00
|
|
|
select LIBC_ARCH_ELF
|
2023-10-26 06:42:55 +02:00
|
|
|
select ARCH_USE_TEXT_HEAP if ARCH_HAVE_TEXT_HEAP
|
2012-10-24 18:46:12 +02:00
|
|
|
---help---
|
|
|
|
Enable support for the ELF binary format. Default: n
|
|
|
|
|
|
|
|
if ELF
|
2021-07-20 13:10:10 +02:00
|
|
|
source "binfmt/libelf/Kconfig"
|
2012-10-24 18:46:12 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2012-10-29 20:32:05 +01:00
|
|
|
config BINFMT_CONSTRUCTORS
|
|
|
|
bool "C++ Static Constructor Support"
|
|
|
|
default n
|
2013-01-27 16:52:58 +01:00
|
|
|
depends on HAVE_CXX && SCHED_STARTHOOK && ELF
|
2012-10-29 20:32:05 +01:00
|
|
|
---help---
|
2021-03-10 21:13:31 +01:00
|
|
|
Built-in support for C++ constructors in loaded modules. Currently
|
2013-01-27 16:52:58 +01:00
|
|
|
only support for ELF binary formats.
|
2023-06-27 02:03:20 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "File output format"
|
|
|
|
default BINFMT_ELF_RELOCATABLE
|
|
|
|
---help---
|
|
|
|
Defines the type of ELF file produced by the NuttX build system.
|
|
|
|
|
|
|
|
config BINFMT_ELF_RELOCATABLE
|
|
|
|
bool "Relocatable ELF"
|
|
|
|
---help---
|
2023-09-13 14:31:50 +02:00
|
|
|
Produce a relocatable object as output. This is also known as partial linking.
|
2023-06-27 02:03:20 +02:00
|
|
|
|
|
|
|
config BINFMT_ELF_EXECUTABLE
|
|
|
|
bool "Executable ELF"
|
|
|
|
depends on ARCH_HAVE_ELF_EXECUTABLE
|
|
|
|
---help---
|
2023-09-13 14:31:50 +02:00
|
|
|
Produce a full linked executable object as output.
|
2023-06-27 02:03:20 +02:00
|
|
|
|
|
|
|
endchoice
|