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> 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"> <h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i> <i>NuttX RTOS Porting Guide</i>
</font></big></h1> </font></big></h1>
<p>Last Updated: March 21, 2011</p> <p>Last Updated: March 23, 2011</p>
</td> </td>
</tr> </tr>
</table> </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. 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. This is only done when you change the NuttX configuration.
</li> </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> <li>
<code>depend</code>. <code>depend</code>.
Make or update the application build dependencies. 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) NONFSDIRS = sched lib $(ARCH_SRC) mm $(ADDON_DIRS)
FSDIRS = fs drivers binfmt FSDIRS = fs drivers binfmt
NETFSDIRS = fs drivers NETFSDIRS = fs drivers
CONTEXTDIRS = CONTEXTDIRS = $(APPDIR)
ifeq ($(CONFIG_NX),y) ifeq ($(CONFIG_NX),y)
NONFSDIRS += graphics NONFSDIRS += graphics
@ -348,7 +348,6 @@ depend: context
done done
subdir_clean: subdir_clean:
echo "CLEANDIRS: $(CLEANDIRS)"
@for dir in $(CLEANDIRS) ; do \ @for dir in $(CLEANDIRS) ; do \
if [ -e $$dir/Makefile ]; then \ if [ -e $$dir/Makefile ]; then \
$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" clean ; \ $(MAKE) -C $$dir TOPDIR="$(TOPDIR)" clean ; \