summaryrefslogtreecommitdiff
path: root/apps/examples/elf/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-29 07:20:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-29 07:20:07 -0600
commit1280639f2eb423c3e6210441a36c96761cd07560 (patch)
tree904f52c432c65a10d5d8c56a1ca7a4dba6664d0d /apps/examples/elf/Kconfig
parentaa61bf9998f4b6e8d6002a94037c54773387ea81 (diff)
downloadpx4-nuttx-1280639f2eb423c3e6210441a36c96761cd07560.tar.gz
px4-nuttx-1280639f2eb423c3e6210441a36c96761cd07560.tar.bz2
px4-nuttx-1280639f2eb423c3e6210441a36c96761cd07560.zip
The ELF test/example has been extended so the individual ELF test programs can link against the SYSCALL library (if it is available) or against the C library to eliminate or minimize the need for symbol tables (2014-8-29).
Diffstat (limited to 'apps/examples/elf/Kconfig')
-rw-r--r--apps/examples/elf/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/examples/elf/Kconfig b/apps/examples/elf/Kconfig
index 5346e14d5..87b74dd80 100644
--- a/apps/examples/elf/Kconfig
+++ b/apps/examples/elf/Kconfig
@@ -11,6 +11,32 @@ config EXAMPLES_ELF
if EXAMPLES_ELF
+config EXAMPLES_ELF_SYSCALL
+ bool "Link with SYSCALL library"
+ default n
+ depends on LIB_SYSCALL
+ ---help---
+ Link with the SYCALL library. By default, all undefined symbols
+ must be provided via a symbol table. But if this option is
+ selected, then each ELF test program will link with the SYSCALL
+ library and will interface with the OS system calls. In this case,
+ those symbols will not be undefined. If the SYSCALL library is
+ available then you probably will want to select this option.
+
+config EXAMPLES_ELF_LIBC
+ bool "Link with LIBC"
+ default n
+ ---help---
+ Link with the C library (and also math library if it was built).
+ By default, all undefined symbols must be provided via a symbol
+ table. But if this option is selected, then each ELF test program
+ will link with the SYSCALL library and will interface with the OS
+ system calls. You probably will NOT want this option, however,
+ because it will substantially increase the size of code. For
+ example, a separate copy of printf() would be linked with every
+ program greatly increasing the total code size. This option is
+ primarily intended only for testing.
+
config EXAMPLES_ELF_DEVMINOR
int "ROMFS Minor Device Number"
default 0