From 058e81edfdee203f2143b3f0910aa957a7f8da48 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 18 Mar 2011 19:46:25 +0000 Subject: Move NSH to apps/ as library git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/nsh/Makefile | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'nuttx/examples/nsh/Makefile') 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 # # 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)) -- cgit v1.2.3