Replace CONFIG_EXAMPLE with CONFIG_APP_DIR

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2893 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-08-28 18:06:51 +00:00
parent 2d0bf246fd
commit f4e7915e3d
109 changed files with 431 additions and 342 deletions

View File

@ -12,7 +12,7 @@
<h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i>
</font></big></h1>
<p>Last Updated: August 21, 2010</p>
<p>Last Updated: August 27, 2010</p>
</td>
</tr>
</table>
@ -2211,8 +2211,55 @@ extern void up_ledoff(int led);
<ul>
<li>
<code>CONFIG_EXAMPLE</code>: identifies the subdirectory in examples
that will be used in the build.
<p>
<code>CONFIG_APP_DIR</code>: Ldentifies the directory that builds the application to link with NuttX.
This symbol must be assigned to the path to the application build directory <i>relative</i> to the NuttX top build direcory.
As an an example, there are several example applicatins in the NuttX <code>examples/</code> sub-directory.
To use one of these example applications, say <code>nsh</code>, you would set <code>CONFIG_APP_DIR=examples/nsh</code>.
If you had an application directory and the NuttX directory both within another directory like this:
<ul><pre>
build
|-nuttx
| |
| `- Makefile
`-application
|
`- Makefile
</pre></ul>
Then you would set <code>CONFIG_APP_DIR=../application</code>.
</p>
<p>
The application direction must contain <code>Makefile</code> and this make file must support the following targets:
<ul>
<li>
<code>libapp$(LIBEXT)</code> (usually <code>libapp.a</code>).
<code>libapp.a</code> is a static library ( an archive) that contains all of application object files.
</li>
<li>
<code>clean</code>.
Do whatever is appropriate to clean the application directories for a fresh build.
</li>
<li>
<code>distclean</code>.
Clean everthing -- auto-generated files, symbolic links etc. -- so that the directory contents are the same as the contents in your configuration management system.
This is only done when you change the NuttX configuration.
</li>
<li>
<code>depend</code>.
Make or update the application build dependencies.
</li>
</ul>
</p>
<p>
When this application is invoked it will receive the setting <code>TOPDIR</code> like:
<ul>
<code>$(MAKE) -C $(CONFIG_APP_DIR) TOPDIR=&quot;$(TOPDIR)&quot;</code> &lt;target&gt;
</ul>
</p>
<p>
<code>TOPDIR</code> is the full path to the NuttX directory.
It can be used, for example, to include makefile fragments (e.g., <code>.config</code> or <code>Make.defs</code>) or to set up include file paths.
</p>
</li>
<li>
<code>CONFIG_DEBUG</code>: enables built-in debug options
@ -2925,7 +2972,7 @@ extern void up_ledoff(int led);
</li>
<li>
<code>CONFIG_THTTPD_URLPATTERN</code>: If defined, then it will be used to match
and verify referrers.
and verify referrers.
</li>
</ul>

View File

@ -69,7 +69,7 @@ ADDON_DIRS := $(PCODE_DIR) $(NX_DIR)
# (except for parts of FSDIRS). We will exclude FSDIRS
# from the build if file descriptor support is disabled
NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE) $(ADDON_DIRS)
NONFSDIRS = sched lib $(ARCH_SRC) mm $(CONFIG_APP_DIR) $(ADDON_DIRS)
FSDIRS = fs drivers binfmt
CONTEXTDIRS =
@ -113,7 +113,7 @@ endif
# is disabled.
LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT) \
lib/liblib$(LIBEXT) examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT)
lib/liblib$(LIBEXT) $(CONFIG_APP_DIR)/libapp$(LIBEXT)
# Add libraries for network support. CXX, CXXFLAGS, and COMPILEXX must
# be defined in Make.defs for this to work!
@ -253,8 +253,8 @@ pcode/libpcode$(LIBEXT): context
graphics/libgraphics$(LIBEXT): context
@$(MAKE) -C graphics TOPDIR="$(TOPDIR)" libgraphics$(LIBEXT)
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT): context
@$(MAKE) -C examples/$(CONFIG_EXAMPLE) TOPDIR="$(TOPDIR)" lib$(CONFIG_EXAMPLE)$(LIBEXT)
$(CONFIG_APP_DIR)/libapp$(LIBEXT): context
@$(MAKE) -C $(CONFIG_APP_DIR) TOPDIR="$(TOPDIR)" libapp$(LIBEXT)
pass1:
ifeq ($(CONFIG_BUILD_2PASS),y)

View File

@ -159,8 +159,48 @@ defconfig -- This is a configuration file similar to the Linux
General OS setup
CONFIG_EXAMPLE - identifies the subdirectory in examples
that will be used in the build
CONFIG_APP_DIR - Identifies the directory that builds the
application to link with NuttX. This symbol must be assigned
to the path to the application build directory *relative* to
the NuttX top build direcory. As an an example, there are
several example applicatins in the NuttX examples/ sub-directory.
To use one of these example applications, say nsh, you would
set CONFIG_APP_DIR=examples/nsh. If you had an application
directory and the NuttX directory both within another directory
like this:
build
|-nuttx
| |
| `- Makefile
`-application
|
`- Makefile
Then you would set CONFIG_APP_DIR=../application.
The application direction must contain Makefile and this make
file must support the following targets:
- libapp$(LIBEXT) (usually libapp.a). libapp.a is a static
library ( an archive) that contains all of application object
files.
- clean. Do whatever is appropriate to clean the application
directories for a fresh build.
- distclean. Clean everthing -- auto-generated files, symbolic
links etc. -- so that the directory contents are the same as
the contents in your configuration management system.
This is only done when you change the NuttX configuration.
- depend. Make or update the application build dependencies.
When this application is invoked it will receive the setting TOPDIR< like:
$(MAKE) -C $(CONFIG_APP_DIR) TOPDIR="$(TOPDIR)" <target>
TOPDIR is the full path to the NuttX directory. It can be used, for
example, to include makefile fragments (e.g., .config or Make.defs)
or to set up include file paths.
CONFIG_DEBUG - enables built-in debug options
CONFIG_DEBUG_VERBOSE - enables verbose debug output
CONFIG_DEBUG_SYMBOLS - build without optimization and with

View File

@ -1,7 +1,7 @@
############################################################################
# configs/c5471evm/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -135,8 +135,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -200,7 +200,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/c5471evm/dhcpconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -135,8 +135,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -200,7 +200,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=uip
CONFIG_APP_DIR=examples/uip
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/c5471evm/netconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -135,8 +135,8 @@ CONFIG_NET_C5471_BASET10=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -200,7 +200,7 @@ CONFIG_NET_C5471_BASET10=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nettest
CONFIG_APP_DIR=examples/nettest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/c5471evm/nshconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -135,8 +135,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -200,7 +200,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/demo9s12ne64/ostest/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -183,8 +183,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -272,7 +272,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -201,8 +201,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -201,8 +201,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -208,8 +208,8 @@ CONFIG_PASS1_LIB=locked.r
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -297,7 +297,7 @@ CONFIG_PASS1_LIB=locked.r
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -47,7 +47,7 @@ endif
ifeq ($(CONFIG_PAGING),y)
CSRCS += up_fillpage.c
endif
ifeq ($(CONFIG_EXAMPLE),usbstorage)
ifeq ($(CONFIG_APP_DIR),examples/usbstorage)
CSRCS += up_usbstrg.c
endif
COBJS = $(CSRCS:.c=$(OBJEXT))

View File

@ -201,8 +201,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=usbserial
CONFIG_APP_DIR=examples/usbserial
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_FS=n

View File

@ -201,8 +201,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=usbstorage
CONFIG_APP_DIR=examples/usbstorage
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_FS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -269,7 +269,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=uip
CONFIG_APP_DIR=examples/uip
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -269,7 +269,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nettest
CONFIG_APP_DIR=examples/nettest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -269,7 +269,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -266,7 +266,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nxflat
CONFIG_APP_DIR=examples/nxflat
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -275,7 +275,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -272,7 +272,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=thttpd
CONFIG_APP_DIR=examples/thttpd
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200kitg/ostest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -167,8 +167,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -234,7 +234,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200zco/dhcpd/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -171,8 +171,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_NET - enables debug of the network subsystem
@ -239,7 +239,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=dhcpd
CONFIG_APP_DIR=examples/dhcpd
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200zco/httpd/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -171,8 +171,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_NET - enables debug of the network subsystem
@ -239,7 +239,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=uip
CONFIG_APP_DIR=examples/uip
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200zco/nettest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -171,8 +171,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_NET - enables debug of the network subsystem
@ -239,7 +239,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nettest
CONFIG_APP_DIR=examples/nettest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200zco/nsh/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -171,8 +171,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_NET - enables debug of the network subsystem
@ -239,7 +239,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200zco/ostest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -170,8 +170,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -237,7 +237,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/ez80f910200zco/poll/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -171,8 +171,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -239,7 +239,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=poll
CONFIG_APP_DIR=examples/poll
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -218,8 +218,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -289,7 +289,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -218,8 +218,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -289,7 +289,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nx
CONFIG_APP_DIR=examples/nx
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -218,8 +218,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -289,7 +289,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/m68332evb/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -106,8 +106,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -168,7 +168,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/mcu123-lpc214x/nsh/defconfig
#
# Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -139,8 +139,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -204,7 +204,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/mcu123-lpc214x/ostest/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -139,8 +139,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -204,7 +204,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/mcu123-lpc214x/src/Makefile
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -51,7 +51,7 @@ CSRCS = up_spi.c up_leds.c
ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y)
CSRCS += up_nsh.c
endif
ifeq ($(CONFIG_EXAMPLE),usbstorage)
ifeq ($(CONFIG_APP_DIR),examples/usbstorage)
CSRCS += up_usbstrg.c
endif

View File

@ -1,7 +1,7 @@
############################################################################
# configs/mcu123-lpc214x/usbserial/defconfig
#
# Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -139,8 +139,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -204,7 +204,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=usbserial
CONFIG_APP_DIR=examples/usbserial
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/mcu123-lpc214x/usbstorage/defconfig
#
# Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -139,8 +139,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -204,7 +204,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=usbstorage
CONFIG_APP_DIR=examples/usbstorage
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/mx1ads/ostest/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -155,8 +155,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -220,7 +220,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -144,8 +144,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -209,7 +209,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nettest
CONFIG_APP_DIR=examples/nettest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -143,8 +143,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -208,7 +208,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -144,8 +144,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -209,7 +209,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -144,8 +144,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -209,7 +209,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=poll
CONFIG_APP_DIR=examples/poll
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -148,8 +148,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -216,7 +216,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=thttpd
CONFIG_APP_DIR=examples/thttpd
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -144,8 +144,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -209,7 +209,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=udp
CONFIG_APP_DIR=examples/udp
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -144,8 +144,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -209,7 +209,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=uip
CONFIG_APP_DIR=examples/uip
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -295,7 +295,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -295,7 +295,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -42,7 +42,7 @@ CSRCS = up_boot.c up_leds.c up_ssp.c
ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y)
CSRCS += up_nsh.c
endif
ifeq ($(CONFIG_EXAMPLE),usbstorage)
ifeq ($(CONFIG_APP_DIR),examples/usbstorage)
CSRCS += up_usbstrg.c
endif

View File

@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -295,7 +295,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=usbserial
CONFIG_APP_DIR=examples/usbserial
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -295,7 +295,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=usbstorage
CONFIG_APP_DIR=examples/usbstorage
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -162,8 +162,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_MM_REGIONS - If the architecture includes multiple
@ -193,7 +193,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console
# driver (minimal support)
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
#CONFIG_DEBUG_MM=y

View File

@ -162,8 +162,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_MM_REGIONS - If the architecture includes multiple
@ -193,7 +193,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console
# driver (minimal support)
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
#CONFIG_DEBUG_MM=y

View File

@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -289,7 +289,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nettest
CONFIG_APP_DIR=examples/nettest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/olimes-strp711/nsh/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -271,7 +271,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/olimes-strp711/ostest/defconfig
#
# Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -206,8 +206,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -271,7 +271,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/pjrc-8051/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -103,8 +103,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -165,7 +165,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -203,8 +203,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -292,7 +292,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -203,8 +203,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -292,7 +292,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nx
CONFIG_APP_DIR=examples/nx
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -204,8 +204,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -293,7 +293,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/sam3u-ek/src/Makefile
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -47,7 +47,7 @@ endif
ifeq ($(CONFIG_SAM3U_HSMCI),y)
CSRCS += up_mmcsd.c
endif
ifeq ($(CONFIG_EXAMPLE),usbstorage)
ifeq ($(CONFIG_APP_DIR),examples/usbstorage)
CSRCS += up_usbstrg.c
endif
COBJS = $(CSRCS:.c=$(OBJEXT))

View File

@ -1,7 +1,7 @@
############################################################################
# sim/mount/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -52,8 +52,8 @@ CONFIG_ARCH_BOARD_SIM=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -114,7 +114,7 @@ CONFIG_ARCH_BOARD_SIM=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=mount
CONFIG_APP_DIR=examples/mount
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/sim/nettest/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -52,8 +52,8 @@ CONFIG_ARCH_BOARD_SIM=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -114,7 +114,7 @@ CONFIG_ARCH_BOARD_SIM=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nettest
CONFIG_APP_DIR=examples/nettest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# sim/nsh/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -52,8 +52,8 @@ CONFIG_ARCH_BOARD_SIM=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -114,7 +114,7 @@ CONFIG_ARCH_BOARD_SIM=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# sim/nx/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -59,8 +59,8 @@ CONFIG_SIM_FBBPP=8
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -121,7 +121,7 @@ CONFIG_SIM_FBBPP=8
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nx
CONFIG_APP_DIR=examples/nx
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# sim/nx/defconfig
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -59,8 +59,8 @@ CONFIG_SIM_FBBPP=32
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -121,7 +121,7 @@ CONFIG_SIM_FBBPP=32
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nx
CONFIG_APP_DIR=examples/nx
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/sim/ostest/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -52,8 +52,8 @@ CONFIG_ARCH_BOARD_SIM=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -114,7 +114,7 @@ CONFIG_ARCH_BOARD_SIM=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/sim/pashello/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -52,8 +52,8 @@ CONFIG_ARCH_BOARD_SIM=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -114,7 +114,7 @@ CONFIG_ARCH_BOARD_SIM=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=pashello
CONFIG_APP_DIR=examples/pashello
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/skp16c26/ostest/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -150,8 +150,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -212,7 +212,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/stm3210e-eval/RIDE/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -226,8 +226,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -315,7 +315,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=null
CONFIG_APP_DIR=examples/null
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/stm3210e-eval/nsh/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -236,8 +236,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -325,7 +325,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -238,8 +238,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -327,7 +327,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/stm3210e-eval/src/Makefile
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -46,7 +46,7 @@ CSRCS = up_boot.c up_leds.c up_buttons.c up_spi.c up_usbdev.c \
ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y)
CSRCS += up_nsh.c
endif
ifeq ($(CONFIG_EXAMPLE),usbstorage)
ifeq ($(CONFIG_APP_DIR),examples/usbstorage)
CSRCS += up_usbstrg.c
endif
COBJS = $(CSRCS:.c=$(OBJEXT))

View File

@ -1,7 +1,7 @@
############################################################################
# configs/stm3210e-eval/usbserial/defconfig
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -238,8 +238,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -327,7 +327,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=usbserial
CONFIG_APP_DIR=examples/usbserial
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_USB=n

View File

@ -236,8 +236,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -325,7 +325,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4
#
CONFIG_EXAMPLE=usbstorage
CONFIG_APP_DIR=examples/usbstorage
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_FS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/us7032evb1/nsh/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -154,8 +154,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -216,7 +216,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/us7032evb1/ostest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -154,8 +154,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -216,7 +216,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# sim/xtrs/nsh/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -95,8 +95,8 @@ CONFIG_LINKER_ROM_AT_0000=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -160,7 +160,7 @@ CONFIG_LINKER_ROM_AT_0000=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/xtrs/ostest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -95,8 +95,8 @@ CONFIG_LINKER_ROM_AT_0000=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -160,7 +160,7 @@ CONFIG_LINKER_ROM_AT_0000=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/xtrs/pashello/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -95,8 +95,8 @@ CONFIG_LINKER_ROM_AT_0000=y
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -160,7 +160,7 @@ CONFIG_LINKER_ROM_AT_0000=y
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=pashello
CONFIG_APP_DIR=examples/pashello
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/z16f2800100zcog/ostest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -125,8 +125,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -189,7 +189,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/z16f2800100zcog/pashello/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -125,8 +125,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -189,7 +189,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=pashello
CONFIG_APP_DIR=examples/pashello
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# sim/z80sim/nsh/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -85,8 +85,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -150,7 +150,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=nsh
CONFIG_APP_DIR=examples/nsh
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/z80sim/ostest/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -85,8 +85,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -150,7 +150,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/z80sim/pashello/defconfig
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -85,8 +85,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -150,7 +150,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=pashello
CONFIG_APP_DIR=examples/pashello
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/z8encore000zco/ostest/defconfig
#
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -117,8 +117,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -184,7 +184,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -1,7 +1,7 @@
############################################################################
# configs/z8f64200100kit/ostest/defconfig
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -117,8 +117,8 @@ CONFIG_HAVE_LIBM=n
#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectory in examples
# that will be used in the build
# CONFIG_APP_DIR - Identifies the relative path to the directory
# that builds the application to link with NuttX.
# CONFIG_DEBUG - enables built-in debug options
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
@ -184,7 +184,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
#
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n

View File

@ -2,11 +2,13 @@ examples
^^^^^^^^
The examples directory contains several sample applications that
can be linked with nuttx. The specific example is selected in the
configs/<board-name>/defconfig file via the CONFIG_EXAMPLE setting.
For example,
can be linked with NuttX. The specific example is selected in the
configs/<board-name>/defconfig file via the CONFIG_APP_DIR setting.
This setting provides the path to the directory containing the
application Makefile (this path is a relative to the NuttX top-
level directory). For example,
CONFIG_EXAMPLE=ostest
CONFIG_APP_DIR=examples/ostest
Selects the examples/ostest example.

View File

@ -1,7 +1,7 @@
############################################################################
# examples/dhcpd/Makefile
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/hello/Makefile
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/helloxx/Makefile
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -46,7 +46,7 @@ CXXOBJS = $(CXXSRCS:.cxx=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) $(CXXSRCS)
OBJS = $(AOBJS) $(COBJS) $(CXXOBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)
.PHONY: clean depend chkcxx

View File

@ -45,7 +45,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# Makefile
#
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/nettest/Makefile
#
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -51,7 +51,7 @@ TARG_COBJS = $(TARG_CSRCS:.c=$(OBJEXT))
TARG_SRCS = $(TARG_ASRCS) $(TARG_CSRCS)
TARG_OBJS = $(TARG_AOBJS) $(TARG_COBJS)
TARG_BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
TARG_BIN = libapp$(LIBEXT)
HOSTCFLAGS += -DCONFIG_EXAMPLE_NETTEST_HOST=1
ifeq ($(CONFIG_EXAMPLE_NETTEST_SERVER),y)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/nsh/Makefile
#
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -65,7 +65,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/null/Makefile
#
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/nxflat/Makefile
#
# Copyright (C) 2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -50,7 +50,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/nxflat/Makefile
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)
.PHONY: headers clean distclean

View File

@ -1,7 +1,7 @@
############################################################################
# examples/ostest/Makefile
#
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -85,7 +85,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/pashello/Makefile
#
# Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -51,7 +51,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# Makefile
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

View File

@ -1,7 +1,7 @@
############################################################################
# examples/poll/Makefile
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@ -44,7 +44,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = lib$(CONFIG_EXAMPLE)$(LIBEXT)
BIN = libapp$(LIBEXT)
all: $(BIN)

Some files were not shown because too many files have changed in this diff Show More