summaryrefslogtreecommitdiff
path: root/nuttx/Documentation
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 17:43:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-15 17:43:29 +0000
commitc0a6b140715e535b2589f411419561cbd0f2b30c (patch)
tree9e10798e704b0b98879109bfc8234a59bfbd2007 /nuttx/Documentation
parent6a52576d5c4bc8aebed7f6ac5ab2b7d716350506 (diff)
downloadpx4-nuttx-c0a6b140715e535b2589f411419561cbd0f2b30c.tar.gz
px4-nuttx-c0a6b140715e535b2589f411419561cbd0f2b30c.tar.bz2
px4-nuttx-c0a6b140715e535b2589f411419561cbd0f2b30c.zip
Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html27
1 files changed, 20 insertions, 7 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index e602d2cd3..50cc0ace5 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -701,17 +701,30 @@
makefiles in the build (once it is installed). This make fragment
should define:
<ul>
- <li>Tools: CC, LD, AR, NM, OBJCOPY, OBJDUMP</li>
- <li>Tool options: CFLAGS, LDFLAGS</li>
- <li>COMPILE, ASSEMBLE, ARCHIVE, CLEAN, and MKDEP macros</li>
+ <li>Tools: <code>CC</code>, <code>LD</code>, <code>AR</code>, <code>NM</code>, <code>OBJCOPY</code>, <code>OBJDUMP</code></li>
+ <li>Tool options: <code>CFLAGS</code>, <code>LDFLAGS</code></li>
</ul>
<p>
- When this makefile fragment runs, it will be passed TOPDIR which
+ When this makefile fragment runs, it will be passed <code>TOPDIR</code> which
is the path to the root directory of the build. This makefile
- fragment may include ${TOPDIR}/.config to perform configuration
- specific settings. For example, the CFLAGS will most likely be
- different if CONFIG_DEBUG=y.
+ fragment should include:
</p>
+ <ul>
+ <li><code>$(TOPDIR)/.config </code> : Nuttx configuration</li>
+ <li><code>$(TOPDIR)/tools/Config.mk</code> : Common definitions</li>
+ </ul>
+ <p>
+ Definitions in the <code>Make.defs</code> file probably depend on some of the
+ settings in the .<code>config</code> file. For example, the <code>CFLAGS</code> will most likely be
+ different if <code>CONFIG_DEBUG=y</code>.
+ </p>
+ <p>
+ The included <code>tools/Config.mk</code> file contains additional definitions that may
+ be overriden in the architecture-specific Make.defs file as necessary:
+ </p>
+ <ul>
+ <li><code>COMPILE</code>, <code>ASSEMBLE</code>, <code>ARCHIVE</code>, <code>CLEAN</code>, and <code>MKDEP</code> macros</li>
+ </ul>
</li>
<li>
<p>