diff options
Diffstat (limited to 'apps/nshlib/Makefile')
-rw-r--r-- | apps/nshlib/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/nshlib/Makefile b/apps/nshlib/Makefile index 76cdac40d..a1586bb00 100644 --- a/apps/nshlib/Makefile +++ b/apps/nshlib/Makefile @@ -40,9 +40,14 @@ include $(APPDIR)/Make.defs # NSH Library ASRCS = -CSRCS = nsh_init.c nsh_parse.c nsh_console.c nsh_script.c nsh_session.c -CSRCS += nsh_fscmds.c nsh_ddcmd.c nsh_proccmds.c nsh_mmcmds.c nsh_envcmds.c -CSRCS += nsh_dbgcmds.c +CSRCS = nsh_init.c nsh_parse.c nsh_console.c nsh_script.c nsh_fscmds.c +CSRCS += nsh_ddcmd.c nsh_proccmds.c nsh_mmcmds.c nsh_envcmds.c nsh_dbgcmds.c + +ifeq ($(CONFIG_NFILE_STREAMS),0) +CSRCS += nsh_stdsession.c +else +CSRCS += nsh_session.c +endif ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) CSRCS += nsh_builtin.c @@ -105,7 +110,7 @@ endif endif ROOTDEPPATH = --dep-path . -VPATH = +VPATH = # Build targets |