Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion builtin/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
#
############################################################################

ifneq ($(CONFIG_BUILTIN),)
ifneq ($(CONFIG_APP_REGISTRY),)
CONFIGURED_APPS += $(APPDIR)/builtin
endif
5 changes: 4 additions & 1 deletion builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ include $(APPDIR)/Make.defs

# Source and object files

CSRCS = builtin_list.c exec_builtin.c
CSRCS = builtin_list.c
ifeq ($(CONFIG_BUILTIN),y)
CSRCS += exec_builtin.c
endif

# Registry entry lists

Expand Down
4 changes: 2 additions & 2 deletions nshlib/nsh_fileapps.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
pid_t pid;
int rc = 0;
int ret;
#ifdef CONFIG_BUILTIN
#ifdef CONFIG_APP_REGISTRY
FAR char *appname;
int index;
#endif
Expand Down Expand Up @@ -212,7 +212,7 @@ int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
}
}

#ifdef CONFIG_BUILTIN
#ifdef CONFIG_APP_REGISTRY
/* Check if a builtin application with this name exists */

appname = basename((FAR char *)cmd);
Expand Down
Loading