summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/dev-manual-bsp-appendix.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-03-09 13:40:39 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-23 14:24:43 +0000
commitaa3a201629c7e40341f53d4be57b6e4223a845c8 (patch)
tree24e16d12dc67523d68b7c62eb2d9e8079bee8eb2 /documentation/dev-manual/dev-manual-bsp-appendix.xml
parente9c32b6a856aa4be4ec47b5e361a4441446204f2 (diff)
downloadpoky-aa3a201629c7e40341f53d4be57b6e4223a845c8.tar.gz
documentation/dev-manual: Converted to use poky.ent
I converted the hard links to use the variables as established in the file poky.ent. Also, Cleaned up some bad text in the term "Yocto Project Files." Looks like a cut-and-paste problem. (From yocto-docs rev: e2e20bf4895d80dae73595e93132f37fb31121d1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-bsp-appendix.xml')
-rw-r--r--documentation/dev-manual/dev-manual-bsp-appendix.xml43
1 files changed, 22 insertions, 21 deletions
diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml
index f9c4383567..035549431f 100644
--- a/documentation/dev-manual/dev-manual-bsp-appendix.xml
+++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml
@@ -1,5 +1,6 @@
1<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 1<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> 2"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
3[<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
3 4
4<appendix id='dev-manual-bsp-appendix'> 5<appendix id='dev-manual-bsp-appendix'>
5 6
@@ -45,10 +46,10 @@
45 Alternatively, you can start with the downloaded Poky "edison" tarball. 46 Alternatively, you can start with the downloaded Poky "edison" tarball.
46 These commands unpack the tarball into a Yocto Project File directory structure. 47 These commands unpack the tarball into a Yocto Project File directory structure.
47 By default, the top-level directory of the file structure is named 48 By default, the top-level directory of the file structure is named
48 <filename>poky-edison-6.0</filename>: 49 <filename>poky-&YOCTO_POKY;</filename>:
49 <literallayout class='monospaced'> 50 <literallayout class='monospaced'>
50 $ tar xfj poky-edison-6.0.tar.bz2 51 $ tar xfj &YOCTO_POKY_TARBALL;
51 $ cd poky-edison-6.0 52 $ cd &YOCTO_POKY;
52 </literallayout> 53 </literallayout>
53 <note><para>If you're using the tarball method, you can ignore all the following steps that 54 <note><para>If you're using the tarball method, you can ignore all the following steps that
54 ask you to carry out Git operations. 55 ask you to carry out Git operations.
@@ -85,24 +86,24 @@
85 $ git branch -a 86 $ git branch -a
86 $ git tag -l 87 $ git tag -l
87 </literallayout> 88 </literallayout>
88 For this example, we are going to use the Yocto Project 1.1 Release, which is code 89 For this example, we are going to use the Yocto Project &DISTRO; Release, which is code
89 named "edison". 90 named "&DISTRO_NAME;".
90 To make sure we have a local area (branch in Git terms) on our machine that 91 To make sure we have a local area (branch in Git terms) on our machine that
91 reflects the 1.1 release, we can use the following commands: 92 reflects the &DISTRO; release, we can use the following commands:
92 <literallayout class='monospaced'> 93 <literallayout class='monospaced'>
93 $ cd ~/poky 94 $ cd ~/poky
94 $ git fetch --tags 95 $ git fetch --tags
95 $ git checkout edison-6.0 -b edison 96 $ git checkout &DISTRO_NAME;-&POKYVERSION; -b &DISTRO_NAME;
96 Switched to a new branch 'edison' 97 Switched to a new branch '&DISTRO_NAME;'
97 </literallayout> 98 </literallayout>
98 The <filename>git fetch --tags</filename> is somewhat redundant since you just set 99 The <filename>git fetch --tags</filename> is somewhat redundant since you just set
99 up the repository and should have all the tags. 100 up the repository and should have all the tags.
100 The <filename>fetch</filename> command makes sure all the tags are available in your 101 The <filename>fetch</filename> command makes sure all the tags are available in your
101 local repository. 102 local repository.
102 The Git <filename>checkout</filename> command with the <filename>-b</filename> option 103 The Git <filename>checkout</filename> command with the <filename>-b</filename> option
103 creates a local branch for you named <filename>edison</filename>. 104 creates a local branch for you named <filename>&DISTRO_NAME;</filename>.
104 Your local branch begins in the same state as the Yocto Project 1.1 released tarball 105 Your local branch begins in the same state as the Yocto Project &DISTRO; released tarball
105 marked with the <filename>edison-6.0</filename> tag in the source repositories. 106 marked with the <filename>&DISTRO_NAME;-&POKYVERSION;</filename> tag in the source repositories.
106 </para> 107 </para>
107</section> 108</section>
108 109
@@ -160,14 +161,14 @@
160 </literallayout> 161 </literallayout>
161 Alternatively, you can start with the downloaded Crown Bay tarball. 162 Alternatively, you can start with the downloaded Crown Bay tarball.
162 You can download the edison version of the BSP tarball from the 163 You can download the edison version of the BSP tarball from the
163 <ulink url='http://www.yoctoproject.org/download'>Download</ulink> page of the 164 <ulink url='&YOCTO_HOME_URL;/download'>Download</ulink> page of the
164 Yocto Project website. 165 Yocto Project website.
165 Here is the specific link for the tarball needed for this example: 166 Here is the specific link for the tarball needed for this example:
166 <ulink url='http://downloads.yoctoproject.org/releases/yocto/yocto-1.1/machines/crownbay-noemgd/crownbay-noemgd-edison-6.0.0.tar.bz2'></ulink>. 167 <ulink url='&YOCTO_MACHINES_DL_URL;/crownbay-noemgd/crownbay-noemgd-&DISTRO_NAME;-6.0.0.tar.bz2'></ulink>.
167 Again, be sure that you are already in the <filename>poky</filename> directory 168 Again, be sure that you are already in the <filename>poky</filename> directory
168 as described previously before installing the tarball: 169 as described previously before installing the tarball:
169 <literallayout class='monospaced'> 170 <literallayout class='monospaced'>
170 $ tar xfj crownbay-noemgd-edison-6.0.0.tar.bz2 171 $ tar xfj crownbay-noemgd-&DISTRO_NAME;-6.0.0.tar.bz2
171 $ cd meta-intel 172 $ cd meta-intel
172 </literallayout> 173 </literallayout>
173 </para> 174 </para>
@@ -181,10 +182,10 @@
181 skip to the next step. 182 skip to the next step.
182 Because <filename>meta-intel</filename> is its own Git repository, you will want 183 Because <filename>meta-intel</filename> is its own Git repository, you will want
183 to be sure you are in the appropriate branch for your work. 184 to be sure you are in the appropriate branch for your work.
184 For this example we are going to use the <filename>edison</filename> branch. 185 For this example we are going to use the <filename>&DISTRO_NAME;</filename> branch.
185 <literallayout class='monospaced'> 186 <literallayout class='monospaced'>
186 $ git checkout -b edison origin/edison 187 $ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME;
187 Switched to a new branch 'edison' 188 Switched to a new branch '&DISTRO_NAME;'
188 </literallayout> 189 </literallayout>
189 </para> 190 </para>
190</section> 191</section>
@@ -271,7 +272,7 @@
271 <filename>meta-mymachine/conf/layer.conf</filename>. 272 <filename>meta-mymachine/conf/layer.conf</filename>.
272 This file identifies build information needed for the new layer. 273 This file identifies build information needed for the new layer.
273 You can see the 274 You can see the
274 "<ulink url='http://www.yoctoproject.org/docs/latest/bsp-guide/bsp-guide.html#bsp-filelayout-layer'>Layer Configuration File</ulink>" section 275 "<ulink url='&YOCTO_DOCS_BSP_URL;#bsp-filelayout-layer'>Layer Configuration File</ulink>" section
275 in The Board Support Packages (BSP) Development Guide for more information on this configuration file. 276 in The Board Support Packages (BSP) Development Guide for more information on this configuration file.
276 Basically, we are changing the existing statements to work with our BSP. 277 Basically, we are changing the existing statements to work with our BSP.
277 </para> 278 </para>
@@ -483,7 +484,7 @@
483 the <filename>SRCREV</filename> statements. 484 the <filename>SRCREV</filename> statements.
484 You can find all the <filename>machine</filename> and <filename>meta</filename> 485 You can find all the <filename>machine</filename> and <filename>meta</filename>
485 branch points (commits) for the <filename>linux-yocto-3.0</filename> kernel at 486 branch points (commits) for the <filename>linux-yocto-3.0</filename> kernel at
486 <ulink url='http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0'></ulink>. 487 <ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/linux-yocto-3.0'></ulink>.
487 </para> 488 </para>
488 489
489 <para> 490 <para>
@@ -610,7 +611,7 @@
610 611
611 <para> 612 <para>
612 The appendix 613 The appendix
613 <ulink url='http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html#ref-variables-glos'> 614 <ulink url='&YOCTO_DOCS_REF_URL;#ref-variables-glos'>
614 Reference: Variables Glossary</ulink> in the Yocto Project Reference Manual has more information 615 Reference: Variables Glossary</ulink> in the Yocto Project Reference Manual has more information
615 on configuration variables. 616 on configuration variables.
616 </para> 617 </para>