diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-26 22:14:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-26 22:14:28 +0000 |
commit | e3872c255c376176d377b0cb03ceedfe4b487242 (patch) | |
tree | 29e7e91187bc9192125e8d22dbf0408886fd1a97 /nuttx/Documentation/NuttxPortingGuide.html | |
parent | 06c5cbbff4968fac4181d2204b1985252f4d5016 (diff) | |
download | px4-nuttx-e3872c255c376176d377b0cb03ceedfe4b487242.tar.gz px4-nuttx-e3872c255c376176d377b0cb03ceedfe4b487242.tar.bz2 px4-nuttx-e3872c255c376176d377b0cb03ceedfe4b487242.zip |
Add a directory to hold board-specific drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@151 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index c970198fc..e609b5287 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -295,6 +295,8 @@ below and discussed in the following paragraphs:</p> <ul><pre> <<i>board-name</i>> |-- include/ + |-- src/ + | `-- Makefile |-- Make.defs |-- defconfig `-- setenv.sh @@ -311,6 +313,17 @@ below and discussed in the following paragraphs:</p> and <code>arch/<arch-name>/src/</code>. </li> <li> + <code>src/</code>: + This directory contains board specific drivers. + This directory will be linked as <config>arch/<arch-name>/src/board</config> at configuration + time and will be integrated into the build system. + </li> + <li> + <code>src/Makefile</code>: + This makefile will be invoked to build the board specific drivers. + It must support the following targets: <code>libext$(LIBEXT)</code>, <code>clean</code>, and <code>distclean</code>. + </li> + <li> <code>Make.defs</code>: This makefile fragment provides architecture and tool-specific build options. It will be included by all other makefiles in the build (once it is installed). This make fragment |