mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
sched/Kconfig, libs/libc/dllfcn/Kconfig, libs/libc/modlib/Kconfig: Refine ELF related configurations.
This commit is contained in:
@@ -8,8 +8,7 @@
|
||||
config LIBC_DLLFCN
|
||||
bool "Shared library support"
|
||||
default n
|
||||
select LIBC_ARCH_ELF
|
||||
select LIBC_MODLIB if !BUILD_KERNEL
|
||||
select LIBC_MODLIB if !BUILD_FLAT
|
||||
select MODULE if BUILD_FLAT
|
||||
depends on EXPERIMENTAL || !BUILD_KERNEL
|
||||
---help---
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
config LIBC_MODLIB
|
||||
bool
|
||||
default n
|
||||
select LIBC_ARCH_ELF
|
||||
|
||||
menu "Module library configuration"
|
||||
depends on LIBC_MODLIB
|
||||
@@ -68,11 +69,13 @@ if MODLIB_HAVE_SYMTAB
|
||||
|
||||
config MODLIB_SYMTAB_ARRAY
|
||||
string "Symbol table name used by dlsym"
|
||||
default "g_mod_symtab"
|
||||
default "g_mod_symtab" if !EXECFUNCS_HAVE_SYMTAB
|
||||
default EXECFUNCS_SYMTAB_ARRAY if EXECFUNCS_HAVE_SYMTAB
|
||||
|
||||
config MODLIB_NSYMBOLS_VAR
|
||||
string "Name of variable holding the number of symbols"
|
||||
default "g_mod_nsymbols"
|
||||
default "g_mod_nsymbols" if !EXECFUNCS_HAVE_SYMTAB
|
||||
default EXECFUNCS_NSYMBOLS_VAR if EXECFUNCS_HAVE_SYMTAB
|
||||
|
||||
endif # MODLIB_HAVE_SYMTAB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user