Building of stm32_appinit.c should depend on CONFIG_LIB_BOARDCTL, not CONFIG_NSH_LIBRARY

This commit is contained in:
Gregory Nutt 2016-03-25 15:23:54 -06:00
parent 075d84b954
commit 78be285ca5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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