mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 01:44:23 +08: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user