diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-30 11:34:04 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-30 11:34:04 -0600 |
commit | 9f2b12c2529e0fbe02693c35a82bd35168637c23 (patch) | |
tree | 45b4abb98431d8a20f1b77a56aee77cbc9929dc8 /apps/nshlib/Makefile | |
parent | f30cf5dcb7a09c5facd0329b21640005c19b541f (diff) | |
download | nuttx-9f2b12c2529e0fbe02693c35a82bd35168637c23.tar.gz nuttx-9f2b12c2529e0fbe02693c35a82bd35168637c23.tar.bz2 nuttx-9f2b12c2529e0fbe02693c35a82bd35168637c23.zip |
Changes to NSH and readline to permit NSH to work on a platform with no file system
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 |