apps/ initialization now occurs during the earlier context build phase

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3412 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-03-24 00:28:50 +00:00
parent 1c59577dd2
commit 834720e4ec
3 changed files with 15 additions and 3 deletions

View File

@ -1604,5 +1604,13 @@
6.1 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* arch/arm/include/lpc17xx/irq.h and arch/arm/src/lpc17xx/lpc17_gpio*.c
-- Fix several bugs in the GPIO interrupt logic. Submited by
Decio Renno.
* Initialization for the CONFIG_APPS_DIR is now supported during the
earlier, 'context' build phase.

View File

@ -12,7 +12,7 @@
<h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i>
</font></big></h1>
<p>Last Updated: March 21, 2011</p>
<p>Last Updated: March 23, 2011</p>
</td>
</tr>
</table>
@ -2699,6 +2699,11 @@ build
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>context</code>.
Perform one-time configuration-related setup.
This might includes such things as creating auto-generated files or symbolic links for directory configurations.
</li>
<li>
<code>depend</code>.
Make or update the application build dependencies.

View File

@ -87,7 +87,7 @@ ADDON_DIRS := $(PCODE_DIR) $(NX_DIR) $(APPDIR)
NONFSDIRS = sched lib $(ARCH_SRC) mm $(ADDON_DIRS)
FSDIRS = fs drivers binfmt
NETFSDIRS = fs drivers
CONTEXTDIRS =
CONTEXTDIRS = $(APPDIR)
ifeq ($(CONFIG_NX),y)
NONFSDIRS += graphics
@ -348,7 +348,6 @@ depend: context
done
subdir_clean:
echo "CLEANDIRS: $(CLEANDIRS)"
@for dir in $(CLEANDIRS) ; do \
if [ -e $$dir/Makefile ]; then \
$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" clean ; \