Building of stm32_appinit.c should depend on CONFIG_LIB_BOARDCTL, not CONFIG_NSH_LIBRARY
This commit is contained in:
parent
075d84b954
commit
78be285ca5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user