sched/Kconfig, libs/libc/dllfcn/Kconfig, libs/libc/modlib/Kconfig: Refine ELF related configurations.
This commit is contained in:
parent
88efb84847
commit
c43e4673ab
@ -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
|
||||
|
||||
|
@ -1487,7 +1487,6 @@ config MODULE
|
||||
bool "Enable loadable OS modules"
|
||||
default n
|
||||
select LIBC_MODLIB
|
||||
select LIBC_ARCH_ELF
|
||||
---help---
|
||||
Enable support for loadable OS modules. Default: n
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user