forked from nuttx/nuttx-update
Kconfig: Refine BUILD_FLAT, BUILD_PROTECTED and BUILD_KERNEL usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
fd38623aac
commit
ddda00ea65
6 changed files with 7 additions and 11 deletions
1
Kconfig
1
Kconfig
|
@ -229,7 +229,6 @@ endchoice # Build configuration
|
|||
config BUILD_2PASS
|
||||
bool "Two pass build"
|
||||
default n
|
||||
depends on !BUILD_KERNEL
|
||||
---help---
|
||||
Enables the two pass build options.
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
config BUILTIN
|
||||
bool "Support Builtin Applications"
|
||||
default n
|
||||
depends on !BUILD_KERNEL || EXPERIMENTAL
|
||||
depends on !BUILD_KERNEL
|
||||
---help---
|
||||
Enable support for builtin applications. This features assigns a string
|
||||
name to an application and in addition if FS_BINFS is defined, retaining
|
||||
|
|
|
@ -10,12 +10,9 @@ config LIBC_DLFCN
|
|||
default n
|
||||
select LIBC_MODLIB if !BUILD_FLAT
|
||||
select MODULE if BUILD_FLAT
|
||||
depends on EXPERIMENTAL || !BUILD_KERNEL
|
||||
---help---
|
||||
Enabled support for user-space shared libraries.
|
||||
|
||||
A work in progress, hence, marked EXPERIMENTAL
|
||||
|
||||
if LIBC_DLFCN
|
||||
|
||||
config LDPATH_INITIAL
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
menu "User Work Queue Support"
|
||||
depends on BUILD_PROTECTED || BUILD_KERNEL
|
||||
depends on !BUILD_FLAT
|
||||
|
||||
config LIB_USRWORK
|
||||
bool "User mode worker thread"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
config MM_KERNEL_HEAP
|
||||
bool "Support a protected, kernel heap"
|
||||
default y
|
||||
depends on BUILD_PROTECTED || BUILD_KERNEL
|
||||
depends on !BUILD_FLAT
|
||||
---help---
|
||||
Partition heap memory into two parts: (1) a protected, kernel-mode
|
||||
heap accessible only by the NuttX kernel, and (2) an unprotected
|
||||
|
|
|
@ -341,8 +341,8 @@ endif # SMP
|
|||
choice
|
||||
prompt "Initialization Task"
|
||||
default INIT_ENTRYPOINT if !BUILD_KERNEL
|
||||
default INIT_FILEPATH if BUILD_KERNEL && !BINFMT_DISABLE
|
||||
default INIT_NONE if BUILD_KERNEL && BINFMT_DISABLE
|
||||
default INIT_FILEPATH if !BINFMT_DISABLE
|
||||
default INIT_NONE if BINFMT_DISABLE
|
||||
|
||||
config INIT_NONE
|
||||
bool "None"
|
||||
|
@ -388,7 +388,7 @@ config INIT_SYMTAB
|
|||
string "Symbol table"
|
||||
default "NULL" if !EXECFUNCS_HAVE_SYMTAB
|
||||
default EXECFUNCS_SYMTAB_ARRAY if EXECFUNCS_HAVE_SYMTAB
|
||||
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
||||
depends on BUILD_FLAT
|
||||
---help---
|
||||
The name of other global array that holds the exported symbol table.
|
||||
The special string "NULL" may be provided if there is no symbol
|
||||
|
@ -402,7 +402,7 @@ config INIT_NEXPORTS
|
|||
string "Symbol table size"
|
||||
default "0" if !EXECFUNCS_HAVE_SYMTAB
|
||||
default EXECFUNCS_NSYMBOLS_VAR if EXECFUNCS_HAVE_SYMTAB
|
||||
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
||||
depends on BUILD_FLAT
|
||||
---help---
|
||||
The size of the symbol table. NOTE that is is logically a numeric
|
||||
value but is represent by a string. That allows you to put
|
||||
|
|
Loading…
Reference in a new issue