Merged in masayuki2009/nuttx.apps/fix_builtin_apps (pull request #155)

Application.mk: Fix to not register a builtin app when BUILD_MODULE=y

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2018-09-07 11:25:09 +00:00 committed by GregoryN
parent c229c14ded
commit ef60f7f697

View File

@ -207,6 +207,7 @@ endif # BUILD_MODULE
preconfig::
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
ifneq ($(BUILD_MODULE),y)
REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(APPNAME)_main.bdat)
APPLIST := $(APPNAME)
@ -232,6 +233,7 @@ endif
else
context::
endif
endif
.depend: Makefile $(SRCS)
ifeq ($(filter %$(CXXEXT),$(SRCS)),)