mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Building of stm32_appinit.c should depend on CONFIG_LIB_BOARDCTL, not CONFIG_NSH_LIBRARY
This commit is contained in:
@@ -62,7 +62,7 @@ CSRCS += stm32_ajoystick.c
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_NSH_LIBRARY),y)
|
||||
ifeq ($(CONFIG_LIB_BOARDCTL),y)
|
||||
CSRCS += stm32_appinit.c
|
||||
endif
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ ifeq ($(CONFIG_AJOYSTICK),y)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_NSH_LIBRARY),y)
|
||||
ifeq ($(CONFIG_LIB_BOARDCTL),y)
|
||||
CSRCS += stm32_appinit.c
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user