mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
modify BUILD_LOADABLE to MODULES which backwards-compatible Kernel
maintains the same semantics as Kernel’s module build
and compatible with Kconfiglib implementation.
The problem of kconfiglib not being able to use tri-states is this:
linux is here torvalds/linux@6dd85ff
The module option is extracted from one of the triate three states into a MODULE keyword.
Kconfiglib supports the default implementation of module to be MODULE for compatibility with the linux kernel, and triate degenerates into bool two states
Refer to this code: 061e71f7d7/kconfiglib.py (L4274-L4284)
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
parent
0561b55860
commit
1d3dd328dd
7 changed files with 27 additions and 40 deletions
|
|
@ -22,7 +22,7 @@ config PATH_INITIAL
|
|||
|
||||
config BINFMT_LOADABLE
|
||||
bool
|
||||
select BUILD_LOADABLE
|
||||
select MODULES
|
||||
default n
|
||||
---help---
|
||||
Automatically selected if a loadable binary format is selected.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue