libc: kconfig: Have MINIMAL_LIBC depend on !REQUIRES_FULL_LIBC
This prevents MINIMAL_LIBC from being selected by the user (in the menuconfig or in a configuration file) when REQUIRES_FULL_LIBC is y. 'default' on a choice only determines the default selection, not what symbols can be selected. It's helpful to think of Kconfig in terms of someone going into the menuconfig and making changes. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
b631cc09ab
commit
8cb26d19c6
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ choice LIBC_IMPLEMENTATION
|
|||
config MINIMAL_LIBC
|
||||
bool "Minimal C library"
|
||||
depends on !NATIVE_APPLICATION
|
||||
depends on !REQUIRES_FULL_LIBC
|
||||
help
|
||||
Build with minimal C library.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue