mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Kconfig: Simplify the conditional default statement
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
e031a73aef
commit
abfe082a6f
+1
-2
@@ -27,8 +27,7 @@ endchoice
|
||||
|
||||
config MM_KERNEL_HEAP
|
||||
bool "Kernel dedicated heap"
|
||||
default n if BUILD_FLAT
|
||||
default y if BUILD_PROTECTED || BUILD_KERNEL
|
||||
default BUILD_PROTECTED || BUILD_KERNEL
|
||||
---help---
|
||||
Under Flat build, this option will enable a separate heap for the kernel.
|
||||
By separating the kernel and userspace heaps, the user is granted more
|
||||
|
||||
Reference in New Issue
Block a user