mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +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
0272a16010
commit
b12f588140
@@ -22,7 +22,7 @@ include $(TOPDIR)/Make.defs
|
||||
|
||||
CSRCS = imxrt_boot.c imxrt_flexspi_nor_boot.c imxrt_flexspi_nor_flash.c
|
||||
|
||||
ifeq ($(CONFIG_LIB_BOARDCTL),y)
|
||||
ifeq ($(CONFIG_BOARDCTL),y)
|
||||
CSRCS += imxrt_appinit.c imxrt_bringup.c
|
||||
else ifeq ($(CONFIG_BOARD_LATE_INITIALIZE),y)
|
||||
CSRCS += imxrt_bringup.c
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
# define HAVE_LEDS 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LIB_BOARDCTL
|
||||
#ifdef CONFIG_BOARDCTL
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -96,4 +96,4 @@ int board_app_initialize(uintptr_t arg)
|
||||
UNUSED(ret);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_LIB_BOARDCTL */
|
||||
#endif /* CONFIG_BOARDCTL */
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
# if defined(CONFIG_LIB_BOARDCTL) || defined(CONFIG_BOARD_LATE_INITIALIZE)
|
||||
# if defined(CONFIG_BOARDCTL) || defined(CONFIG_BOARD_LATE_INITIALIZE)
|
||||
int imxrt_bringup(void);
|
||||
# endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user