diff options
Diffstat (limited to 'external/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml')
-rw-r--r-- | external/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/external/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml b/external/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml index 9076f0fc..11eb36aa 100644 --- a/external/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml +++ b/external/poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml @@ -166,7 +166,7 @@ Having a project directory is a good way to isolate your project. </para></listitem> - <listitem><para><emphasis>Run Bitbake:</emphasis> + <listitem><para><emphasis>Run BitBake:</emphasis> At this point, you have nothing but a project directory. Run the <filename>bitbake</filename> command and see what it does: @@ -194,10 +194,10 @@ <para> When you run BitBake, it begins looking for metadata files. The - <link linkend='var-BBPATH'><filename>BBPATH</filename></link> + <link linkend='var-bb-BBPATH'><filename>BBPATH</filename></link> variable is what tells BitBake where to look for those files. <filename>BBPATH</filename> is not set and you need to set it. - Without <filename>BBPATH</filename>, Bitbake cannot + Without <filename>BBPATH</filename>, BitBake cannot find any configuration files (<filename>.conf</filename>) or recipe files (<filename>.bb</filename>) at all. BitBake also cannot find the <filename>bitbake.conf</filename> @@ -225,7 +225,7 @@ as the shell would. </note> </para></listitem> - <listitem><para><emphasis>Run Bitbake:</emphasis> + <listitem><para><emphasis>Run BitBake:</emphasis> Now that you have <filename>BBPATH</filename> defined, run the <filename>bitbake</filename> command again: <literallayout class='monospaced'> @@ -273,14 +273,14 @@ some editor to create the <filename>bitbake.conf</filename> so that it contains the following: <literallayout class='monospaced'> - <link linkend='var-PN'>PN</link> = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" + <link linkend='var-bb-PN'>PN</link> = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" </literallayout> <literallayout class='monospaced'> - TMPDIR = "${<link linkend='var-TOPDIR'>TOPDIR</link>}/tmp" - <link linkend='var-CACHE'>CACHE</link> = "${TMPDIR}/cache" - <link linkend='var-STAMP'>STAMP</link> = "${TMPDIR}/${PN}/stamps" - <link linkend='var-T'>T</link> = "${TMPDIR}/${PN}/work" - <link linkend='var-B'>B</link> = "${TMPDIR}/${PN}" + TMPDIR = "${<link linkend='var-bb-TOPDIR'>TOPDIR</link>}/tmp" + <link linkend='var-bb-CACHE'>CACHE</link> = "${TMPDIR}/cache" + <link linkend='var-bb-STAMP'>STAMP</link> = "${TMPDIR}/${PN}/stamps" + <link linkend='var-bb-T'>T</link> = "${TMPDIR}/${PN}/work" + <link linkend='var-bb-B'>B</link> = "${TMPDIR}/${PN}" </literallayout> <note> Without a value for <filename>PN</filename>, the @@ -313,7 +313,7 @@ example, click on the links to take you to the definitions in the glossary. </para></listitem> - <listitem><para><emphasis>Run Bitbake:</emphasis> + <listitem><para><emphasis>Run BitBake:</emphasis> After making sure that the <filename>conf/bitbake.conf</filename> file exists, you can run the <filename>bitbake</filename> command again: @@ -364,7 +364,7 @@ more depending on which build environments BitBake is supporting. </para></listitem> - <listitem><para><emphasis>Run Bitbake:</emphasis> + <listitem><para><emphasis>Run BitBake:</emphasis> After making sure that the <filename>classes/base.bbclass</filename> file exists, you can run the <filename>bitbake</filename> command again: @@ -402,12 +402,12 @@ Move to the <filename>conf</filename> directory and create a <filename>layer.conf</filename> file that has the following: <literallayout class='monospaced'> - BBPATH .= ":${<link linkend='var-LAYERDIR'>LAYERDIR</link>}" + BBPATH .= ":${<link linkend='var-bb-LAYERDIR'>LAYERDIR</link>}" - <link linkend='var-BBFILES'>BBFILES</link> += "${LAYERDIR}/*.bb" + <link linkend='var-bb-BBFILES'>BBFILES</link> += "${LAYERDIR}/*.bb" - <link linkend='var-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</link> += "mylayer" - <link linkend='var-BBFILE_PATTERN'>BBFILE_PATTERN_mylayer</link> := "^${LAYERDIR_RE}/" + <link linkend='var-bb-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</link> += "mylayer" + <link linkend='var-bb-BBFILE_PATTERN'>BBFILE_PATTERN_mylayer</link> := "^${LAYERDIR_RE}/" </literallayout> For information on these variables, click the links to go to the definitions in the glossary.</para> @@ -416,9 +416,9 @@ a recipe file named <filename>printhello.bb</filename> that has the following: <literallayout class='monospaced'> - <link linkend='var-DESCRIPTION'>DESCRIPTION</link> = "Prints Hello World" - <link linkend='var-PN'>PN</link> = 'printhello' - <link linkend='var-PV'>PV</link> = '1' + <link linkend='var-bb-DESCRIPTION'>DESCRIPTION</link> = "Prints Hello World" + <link linkend='var-bb-PN'>PN</link> = 'printhello' + <link linkend='var-bb-PV'>PV</link> = '1' python do_build() { bb.plain("********************"); @@ -434,7 +434,7 @@ For more information on these variables, follow the links to the glossary. </para></listitem> - <listitem><para><emphasis>Run Bitbake With a Target:</emphasis> + <listitem><para><emphasis>Run BitBake With a Target:</emphasis> Now that a BitBake target exists, run the command and provide that target: <literallayout class='monospaced'> @@ -468,7 +468,7 @@ You need to provide your own information for <filename>you</filename> in the file. </para></listitem> - <listitem><para><emphasis>Run Bitbake With a Target:</emphasis> + <listitem><para><emphasis>Run BitBake With a Target:</emphasis> Now that you have supplied the <filename>bblayers.conf</filename> file, run the <filename>bitbake</filename> command and provide the target: |