mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +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: https://github.com/ulfalizer/Kconfiglib/blob/061e71f7d78cb057762d88de088055361863deff/kconfiglib.py#L4274-L4284 Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -127,7 +127,7 @@ Symbol tables have differing usefulness in different NuttX build modes:
|
||||
share resources with other user code (but should use system calls to
|
||||
interact with the OS).
|
||||
|
||||
#. But in the kernel build mode (``CONFIG_BUILD_LOADABLE``), only fully linked
|
||||
#. But in the kernel build mode (``CONFIG_MODULES``), only fully linked
|
||||
executables loadable via ``execl()``, ``execv()``, or ``posix_spawan()``
|
||||
can be used.
|
||||
There is no use for a symbol table with the kernel build since all
|
||||
|
||||
Reference in New Issue
Block a user