nsh: rename CONFIG_SCHED_CPULOAD to CONFIG_SCHED_CPULOAD_NONE
Explicitly select dependencies to avoid automatically selecting inappropriate configurations. Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
b8c35f667e
commit
647db6393d
@ -491,7 +491,7 @@
|
|||||||
|
|
||||||
#define NSH_HAVE_CPULOAD 1
|
#define NSH_HAVE_CPULOAD 1
|
||||||
#if !defined(CONFIG_FS_PROCFS) || defined(CONFIG_FS_PROCFS_EXCLUDE_CPULOAD) || \
|
#if !defined(CONFIG_FS_PROCFS) || defined(CONFIG_FS_PROCFS_EXCLUDE_CPULOAD) || \
|
||||||
!defined(CONFIG_SCHED_CPULOAD) || defined(CONFIG_NSH_DISABLE_PS)
|
defined(CONFIG_SCHED_CPULOAD_NONE) || defined(CONFIG_NSH_DISABLE_PS)
|
||||||
# undef NSH_HAVE_CPULOAD
|
# undef NSH_HAVE_CPULOAD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user