mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
since boardctl isn't a libc feature Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:

committed by
Abdelatif Guettouche

parent
967f526850
commit
d4d2f13f89
@@ -835,14 +835,14 @@ int nsh_loginscript(FAR struct nsh_vtbl_s *vtbl);
|
||||
|
||||
/* Architecture-specific initialization depends on boardctl(BOARDIOC_INIT) */
|
||||
|
||||
#if defined(CONFIG_NSH_ARCHINIT) && !defined(CONFIG_LIB_BOARDCTL)
|
||||
# warning CONFIG_NSH_ARCHINIT is set, but CONFIG_LIB_BOARDCTL is not
|
||||
#if defined(CONFIG_NSH_ARCHINIT) && !defined(CONFIG_BOARDCTL)
|
||||
# warning CONFIG_NSH_ARCHINIT is set, but CONFIG_BOARDCTL is not
|
||||
# undef CONFIG_NSH_ARCHINIT
|
||||
#endif
|
||||
|
||||
/* The mkrd command depends on boardctl(BOARDIOC_MKRD) */
|
||||
|
||||
#if !defined(CONFIG_LIB_BOARDCTL) || !defined(CONFIG_BOARDCTL_MKRD)
|
||||
#if !defined(CONFIG_BOARDCTL) || !defined(CONFIG_BOARDCTL_MKRD)
|
||||
# undef CONFIG_NSH_DISABLE_MKRD
|
||||
# define CONFIG_NSH_DISABLE_MKRD 1
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user