diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-18 19:46:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-18 19:46:25 +0000 |
commit | 058e81edfdee203f2143b3f0910aa957a7f8da48 (patch) | |
tree | 4842491d56251e5499f2838ee303bd752d518e12 /nuttx/examples/nsh/Makefile | |
parent | 529a1cf7339541eaee3d189a3b97d9c544ba7810 (diff) | |
download | px4-nuttx-058e81edfdee203f2143b3f0910aa957a7f8da48.tar.gz px4-nuttx-058e81edfdee203f2143b3f0910aa957a7f8da48.tar.bz2 px4-nuttx-058e81edfdee203f2143b3f0910aa957a7f8da48.zip |
Move NSH to apps/ as library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/Makefile')
-rw-r--r-- | nuttx/examples/nsh/Makefile | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/nuttx/examples/nsh/Makefile b/nuttx/examples/nsh/Makefile index 99e6f6b03..3ef915cb7 100644 --- a/nuttx/examples/nsh/Makefile +++ b/nuttx/examples/nsh/Makefile @@ -1,7 +1,7 @@ ############################################################################ # examples/nsh/Makefile # -# Copyright (C) 2007-2008, 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -37,32 +37,7 @@ -include $(TOPDIR)/Make.defs ASRCS = -CSRCS = nsh_main.c nsh_fscmds.c nsh_ddcmd.c nsh_proccmds.c nsh_mmcmds.c \ - nsh_envcmds.c nsh_dbgcmds.c - -ifeq ($(CONFIG_EXAMPLES_NSH_BUILTIN_APPS),y) -CSRCS += nsh_apps.c -endif - -ifeq ($(CONFIG_EXAMPLES_NSH_ROMFSETC),y) -CSRCS += nsh_romfsetc.c -endif - -ifeq ($(CONFIG_NET),y) -CSRCS += nsh_netinit.c nsh_netcmds.c -endif - -ifeq ($(CONFIG_EXAMPLES_NSH_CONSOLE),y) -CSRCS += nsh_serial.c -endif - -ifeq ($(CONFIG_EXAMPLES_NSH_TELNET),y) -CSRCS += nsh_telnetd.c -endif - -ifneq ($(CONFIG_EXAMPLES_NSH_DISABLESCRIPT),y) -CSRCS += nsh_test.c -endif +CSRCS = nsh_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) |