aboutsummaryrefslogtreecommitdiff
path: root/nuttx/binfmt/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/binfmt/Kconfig')
-rw-r--r--nuttx/binfmt/Kconfig63
1 files changed, 63 insertions, 0 deletions
diff --git a/nuttx/binfmt/Kconfig b/nuttx/binfmt/Kconfig
index ae2bf3130..495bd050f 100644
--- a/nuttx/binfmt/Kconfig
+++ b/nuttx/binfmt/Kconfig
@@ -2,3 +2,66 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
+config BINFMT_DISABLE
+ bool "Disble BINFMT support"
+ default n
+ ---help---
+ By default, support for loadable binary formats is built. This logic
+ may be suppressed be defining this setting.
+
+if !BINFMT_DISABLE
+
+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"
+
+config NXFLAT
+ bool "Enable the NXFLAT Binary Format"
+ default n
+ select PIC
+ ---help---
+ Enable support for the NXFLAT binary format. Default: n
+
+if NXFLAT
+source binfmt/libnxflat/Kconfig
+endif
+
+config ELF
+ bool "Enable the ELF Binary Format"
+ default n
+ ---help---
+ Enable support for the ELF binary format. Default: n
+
+if ELF
+source binfmt/libelf/Kconfig
+endif
+
+endif
+
+config PIC
+ bool
+ default n
+
+config BINFMT_CONSTRUCTORS
+ bool "C++ Static Constructor Support"
+ default n
+ depends on HAVE_CXX && ELF # FIX ME: Currently only supported for ELF
+ ---help---
+ Build in support for C++ constructors in loaded modules.
+
+config SYMTAB_ORDEREDBYNAME
+ bool "Symbol Tables Ordered by Name"
+ default n