From 5cce95c6028ab610e148e4d6884330151881dd98 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 18 Jan 2014 16:22:01 +0000 Subject: bitbake: user-manual-bitbakecommand: Standardise on section tags, not example (Bitbake rev: c85a035608b7c862d964f45bb1b767fde072a1de) Signed-off-by: Richard Purdie --- .../doc/user-manual/user-manual-bitbakecommand.xml | 61 ++++++++++++---------- 1 file changed, 34 insertions(+), 27 deletions(-) (limited to 'bitbake/doc') diff --git a/bitbake/doc/user-manual/user-manual-bitbakecommand.xml b/bitbake/doc/user-manual/user-manual-bitbakecommand.xml index a97f45a..c816333 100644 --- a/bitbake/doc/user-manual/user-manual-bitbakecommand.xml +++ b/bitbake/doc/user-manual/user-manual-bitbakecommand.xml @@ -4,7 +4,7 @@ The BitBake command -
+
Introduction @@ -15,8 +15,10 @@ amongst them.
-
+ +
Usage and syntax + $ bitbake --help @@ -92,10 +94,12 @@ Options: - +
- +
+ Examples +
Executing a task against a single .bb @@ -105,6 +109,7 @@ Options: It obeys intertask dependencies when doing so. + clean task: $ bitbake -b foo.bb -c clean @@ -114,12 +119,11 @@ Options: $ bitbake -b foo_1.0.bb - - - - - Executing tasks against a set of .bb files +
+ +
+ Executing tasks against a set of .bb files There are a number of additional complexities introduced when one wants to manage multiple .bb @@ -159,8 +163,9 @@ Options: $ bitbake -c clean virtual/whatever - - +
+ +
Generating dependency graphs BitBake is able to generate dependency graphs using @@ -184,18 +189,17 @@ Options: $ bitbake -g -I virtual/whatever -I bloom foo - - +
-
+
Special variables Certain variables affect BitBake operation: -
+
<varname>BB_NUMBER_THREADS</varname> @@ -204,8 +208,9 @@ Options:
-
+
Metadata + As you may have seen in the usage information, or in the information about .bb files, the @@ -213,14 +218,14 @@ Options: tool locates its files. This variable is a space separated list of files that are available, and supports wildcards. - + +
Setting BBFILES + BBFILES = "/path/to/bbfiles/*.bb" - - With regard to dependencies, it expects the .bb to define a DEPENDS variable, which contains a @@ -230,8 +235,9 @@ Options: set to a component of the .bb filename by default. +
- +
Depending on another .bb @@ -246,9 +252,9 @@ Options: PN = "package-b" - +
- +
Using PROVIDES @@ -274,15 +280,16 @@ This example shows the usage of the PROVIDES variable, which gets used. There is, indeed, such a way. + The following would go into a .conf file, to select package1: PREFERRED_PROVIDER_virtual/package = "package1" - +
- +
Specifying version preference @@ -318,9 +325,9 @@ The following would go into a .conf file, to select package1: - - +
+
Using <quote>bbfile collections</quote> @@ -341,6 +348,6 @@ The following would go into a .conf file, to select package1: BBFILE_PRIORITY_local = "10" - +
-- cgit v1.1