diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-21 21:59:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-21 21:59:35 +0000 |
commit | aa6acd09ef4900ece87a4d5e0fde449ba7bdb8e2 (patch) | |
tree | 2ee3d56220eb419976035ac38aa73dc8f5e249b8 /nuttx/Documentation/NuttxPortingGuide.html | |
parent | 60051cba0cf424e01ef2eda09816ee8945867b6d (diff) | |
download | px4-nuttx-aa6acd09ef4900ece87a4d5e0fde449ba7bdb8e2.tar.gz px4-nuttx-aa6acd09ef4900ece87a4d5e0fde449ba7bdb8e2.tar.bz2 px4-nuttx-aa6acd09ef4900ece87a4d5e0fde449ba7bdb8e2.zip |
Prep for 6.0 releasenuttx-6.0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3408 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 85fc8010d..3b00632fb 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@ <h1><big><font color="#3c34ec"> <i>NuttX RTOS Porting Guide</i> </font></big></h1> - <p>Last Updated: March 20, 2011</p> + <p>Last Updated: March 21, 2011</p> </td> </tr> </table> @@ -1016,7 +1016,6 @@ netutils/ </p> <ul> <li>Copy <code>configs/</code><i><board-name></i><code>/[</code><i><config-dir></i><code>/appconfig</code> to <app-dir><code>/.config</code></li> - <li><code>echo "CONFIG_BUILTIN_APPS=y" >> "${TOPDIR}/.config"</code></li> <li><code>echo "APPS_LOC=\"<app-dir>\"" >> "${TOPDIR}/.config"</code></li> </ul> @@ -2668,10 +2667,10 @@ extern void up_ledoff(int led); <ul> <li> <p> - <code>CONFIG_APP_DIR</code>: Identifies 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 directory. - If the application resides in the top-level <code>apps</code> directory, it is not necessary to define <code>CONFIG_APP_DIR</code>. - If you had an application directory and the NuttX directory both within another directory like this: + <code>CONFIG_APPS_DIR</code>: Identifies the directory that builds the application to link with NuttX. + This symbol must be assigned to the path of the application build directory <i>relative</i> to the NuttX top build directory. + If the application resides in the top-level <code>../apps/</code> directory, it is not necessary to define <code>CONFIG_APPS_DIR</code>. + If you have an application directory and the NuttX directory each in separate directories such as this: <ul><pre> build |-nuttx @@ -2681,14 +2680,15 @@ build | `- Makefile </pre></ul> - Then you would set <code>CONFIG_APP_DIR=../application</code>. + Then you would set <code>CONFIG_APPS_DIR=../application</code>. + The default value of <code>CONFIG_APPS_DIR</code> is <code>../apps/</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. + <code>libapps$(LIBEXT)</code> (usually <code>libapps.a</code>). + <code>libapps.a</code> is a static library ( an archive) that contains all of application object files. </li> <li> <code>clean</code>. @@ -2708,7 +2708,7 @@ build <p> When this application is invoked it will receive the setting <code>TOPDIR</code> like: <ul> - <code>$(MAKE) -C $(CONFIG_APP_DIR) TOPDIR="$(TOPDIR)"</code> <target> + <code>$(MAKE) -C $(CONFIG_APPS_DIR) TOPDIR="$(TOPDIR)"</code> <target> </ul> </p> <p> |