2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2012-10-25 00:46:12 +08:00
|
|
|
|
|
|
|
config BINFMT_DISABLE
|
2018-07-09 08:24:45 +08:00
|
|
|
bool "Disable BINFMT support"
|
2012-10-25 00:46:12 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
By default, support for loadable binary formats is built. This logic
|
|
|
|
may be suppressed be defining this setting.
|
|
|
|
|
|
|
|
if !BINFMT_DISABLE
|
|
|
|
|
2012-12-17 05:15:27 +08:00
|
|
|
config BINFMT_EXEPATH
|
|
|
|
bool "Support PATH variable"
|
|
|
|
default n
|
|
|
|
depends on !DISABLE_ENVIRON
|
|
|
|
---help---
|
|
|
|
Use the contents of the PATH environment variable to locate executable
|
|
|
|
files. Default: n
|
|
|
|
|
|
|
|
config PATH_INITIAL
|
|
|
|
string "Initial PATH Value"
|
|
|
|
default ""
|
|
|
|
depends on BINFMT_EXEPATH
|
|
|
|
---help---
|
|
|
|
The initial value of the PATH variable. This is the colon-separated
|
|
|
|
list of absolute paths. E.g., "/bin:/usr/bin:/sbin"
|
|
|
|
|
2012-10-25 00:46:12 +08:00
|
|
|
config NXFLAT
|
|
|
|
bool "Enable the NXFLAT Binary Format"
|
|
|
|
default n
|
2012-12-12 02:04:04 +08:00
|
|
|
select PIC
|
2012-10-25 00:46:12 +08:00
|
|
|
---help---
|
|
|
|
Enable support for the NXFLAT binary format. Default: n
|
|
|
|
|
|
|
|
if NXFLAT
|
2012-10-25 09:34:21 +08:00
|
|
|
source binfmt/libnxflat/Kconfig
|
2012-10-25 00:46:12 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
config ELF
|
|
|
|
bool "Enable the ELF Binary Format"
|
|
|
|
default n
|
2017-01-22 04:40:26 +08:00
|
|
|
select LIBC_ARCH_ELF
|
2012-10-25 00:46:12 +08:00
|
|
|
---help---
|
|
|
|
Enable support for the ELF binary format. Default: n
|
|
|
|
|
|
|
|
if ELF
|
2012-10-25 09:34:21 +08:00
|
|
|
source binfmt/libelf/Kconfig
|
2012-10-25 00:46:12 +08:00
|
|
|
endif
|
2012-10-25 09:34:21 +08:00
|
|
|
|
2013-01-17 01:05:00 +08:00
|
|
|
config BUILTIN
|
|
|
|
bool "Support Builtin Applications"
|
|
|
|
default n
|
2014-08-30 04:47:22 +08:00
|
|
|
depends on (!BUILD_PROTECTED && !BUILD_KERNEL) || EXPERIMENTAL
|
2013-01-17 01:05:00 +08:00
|
|
|
---help---
|
|
|
|
Enable support for builtin applications. This features assigns a string
|
|
|
|
name to an application and in addition if FS_BINFS is defined, retaining
|
|
|
|
those names in a file system from which they can be executed. This feature
|
|
|
|
is also the underlying requirement to support built-in applications in the
|
|
|
|
NuttShell (NSH).
|
|
|
|
|
2014-08-30 04:47:22 +08:00
|
|
|
ISSUES: This feature is highly coupled with logic in the apps/
|
|
|
|
sub-directory and, as a consequence, cannot be used in environments
|
|
|
|
that do not include the standard NuttX apps/ nor in build
|
|
|
|
configurations using BUILD_PROTECTED or BUILD_KERNEL.
|
2014-05-10 00:33:23 +08:00
|
|
|
|
2013-01-17 01:05:00 +08:00
|
|
|
if BUILTIN
|
|
|
|
source binfmt/libbuiltin/Kconfig
|
|
|
|
endif
|
|
|
|
|
2016-07-01 01:25:59 +08:00
|
|
|
config BINFMT_PCODE
|
2014-05-08 03:47:52 +08:00
|
|
|
bool "Support P-Code Applications"
|
|
|
|
default n
|
2016-07-01 01:25:59 +08:00
|
|
|
depends on INTERPRETERS_PCODE && ((!BUILD_PROTECTED && !BUILD_KERNEL) || EXPERIMENTAL)
|
2014-05-08 03:47:52 +08:00
|
|
|
---help---
|
|
|
|
Enable support for interpreted P-Code binaries. P-Code binaries are
|
|
|
|
generated by the NuttX Pascal compiler.
|
|
|
|
|
|
|
|
NOTE: You must first install and select the Pascal P-Code
|
|
|
|
interpreter before you can select this binary format. The P-Code
|
2015-06-28 22:08:57 +08:00
|
|
|
interpreter is in the Pascal download package and can also be found
|
|
|
|
in the NuttX Pascal GIT repository. Read the README.txt file in the
|
|
|
|
Pascal package directory for more details. The correct installation
|
|
|
|
directory is: apps/interpreters.
|
2014-05-08 03:47:52 +08:00
|
|
|
|
2016-07-01 01:25:59 +08:00
|
|
|
ISSUES: This feature is highly coupled with logic in the apps/
|
|
|
|
directory and, as a consequence, cannot be used in environments that
|
|
|
|
do not include the standard NuttX apps/ directory nor in build
|
|
|
|
configurations using BUILD_PROTECTED or BUILD_KERNEL.
|
2014-05-10 00:33:23 +08:00
|
|
|
|
2016-07-01 01:25:59 +08:00
|
|
|
if BINFMT_PCODE
|
2014-05-08 03:47:52 +08:00
|
|
|
source binfmt/libpcode/Kconfig
|
|
|
|
endif
|
|
|
|
|
2012-10-25 00:46:12 +08:00
|
|
|
endif
|
|
|
|
|
2012-12-12 02:04:04 +08:00
|
|
|
config PIC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-10-30 03:32:05 +08:00
|
|
|
config BINFMT_CONSTRUCTORS
|
|
|
|
bool "C++ Static Constructor Support"
|
|
|
|
default n
|
2013-01-27 23:52:58 +08:00
|
|
|
depends on HAVE_CXX && SCHED_STARTHOOK && ELF
|
2012-10-30 03:32:05 +08:00
|
|
|
---help---
|
2013-01-27 23:52:58 +08:00
|
|
|
Build in support for C++ constructors in loaded modules. Currently
|
|
|
|
only support for ELF binary formats.
|
2012-10-30 03:32:05 +08:00
|
|
|
|
2012-10-25 00:46:12 +08:00
|
|
|
config SYMTAB_ORDEREDBYNAME
|
|
|
|
bool "Symbol Tables Ordered by Name"
|
|
|
|
default n
|