diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-09-23 13:42:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-01 22:52:52 +0100 |
commit | b8bdd92ae648f4c94c4dfcd2f62aeffa1c2d0486 (patch) | |
tree | ee96f327d604cc294a3387e4d5ce28d48ba076f1 /documentation/ref-manual | |
parent | 7fa2c8f6f7f6d358646edf8264d259d9f017aeae (diff) | |
download | poky-b8bdd92ae648f4c94c4dfcd2f62aeffa1c2d0486.tar.gz |
ref-manual: Updated the bitbake --help listing.
(From yocto-docs rev: 83f6776d107a146ff2bbcd37229e8cd637314fd9)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/ref-bitbake.xml | 96 |
1 files changed, 47 insertions, 49 deletions
diff --git a/documentation/ref-manual/ref-bitbake.xml b/documentation/ref-manual/ref-bitbake.xml index 41e2601156..b587d46caa 100644 --- a/documentation/ref-manual/ref-bitbake.xml +++ b/documentation/ref-manual/ref-bitbake.xml | |||
@@ -23,7 +23,7 @@ | |||
23 | <note> | 23 | <note> |
24 | BitBake strives to be a generic "task" executor that is capable of handling complex dependency relationships. | 24 | BitBake strives to be a generic "task" executor that is capable of handling complex dependency relationships. |
25 | As such, it has no real knowledge of what the tasks being executed actually do. | 25 | As such, it has no real knowledge of what the tasks being executed actually do. |
26 | BitBake just considers a list of tasks with dependencies and handles | 26 | BitBake just considers a list of tasks with dependencies and handles |
27 | <ulink url='&YOCTO_DOCS_DEV_URL;#metadata'>Metadata</ulink> | 27 | <ulink url='&YOCTO_DOCS_DEV_URL;#metadata'>Metadata</ulink> |
28 | consisting of variables in a certain format that get passed to the tasks. | 28 | consisting of variables in a certain format that get passed to the tasks. |
29 | </note> | 29 | </note> |
@@ -320,76 +320,74 @@ | |||
320 | 320 | ||
321 | <screen> | 321 | <screen> |
322 | $ bitbake --help | 322 | $ bitbake --help |
323 | Usage: bitbake [options] [package ...] | 323 | Usage: bitbake [options] [recipename/target ...] |
324 | 324 | ||
325 | Executes the specified task (default is 'build') for a given set of BitBake files. | 325 | Executes the specified task (default is 'build') for a given set of target recipes (.bb files). |
326 | It expects that BBFILES is defined, which is a space separated list of files to | 326 | It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which |
327 | be executed. BBFILES does support wildcards. | 327 | will provide the layer, BBFILES and other configuration information. |
328 | Default BBFILES are the .bb files in the current directory. | ||
329 | 328 | ||
330 | Options: | 329 | Options: |
331 | --version show program's version number and exit | 330 | --version show program's version number and exit |
332 | -h, --help show this help message and exit | 331 | -h, --help show this help message and exit |
333 | -b BUILDFILE, --buildfile=BUILDFILE | 332 | -b BUILDFILE, --buildfile=BUILDFILE |
334 | execute the task against this .bb file, rather than a | 333 | Execute tasks from a specific .bb recipe directly. |
335 | package from BBFILES. Does not handle any | 334 | WARNING: Does not handle any dependencies from other |
336 | dependencies. | 335 | recipes. |
337 | -k, --continue continue as much as possible after an error. While the | 336 | -k, --continue Continue as much as possible after an error. While the |
338 | target that failed, and those that depend on it, | 337 | target that failed and anything depending on it cannot |
339 | cannot be remade, the other dependencies of these | 338 | be built, as much as possible will be built before |
340 | targets can be processed all the same. | 339 | stopping. |
341 | -a, --tryaltconfigs continue with builds by trying to use alternative | 340 | -a, --tryaltconfigs Continue with builds by trying to use alternative |
342 | providers where possible. | 341 | providers where possible. |
343 | -f, --force force run of specified cmd, regardless of stamp status | 342 | -f, --force Force the specified targets/task to run (invalidating |
344 | -c CMD, --cmd=CMD Specify task to execute. Note that this only executes | 343 | any existing stamp file). |
345 | the specified task for the providee and the packages | 344 | -c CMD, --cmd=CMD Specify the task to execute. The exact options |
346 | it depends on, i.e. 'compile' does not implicitly call | 345 | available depend on the metadata. Some examples might |
347 | stage for the dependencies (IOW: use only if you know | 346 | be 'compile' or 'populate_sysroot' or 'listtasks' may |
348 | what you are doing). Depending on the base.bbclass a | 347 | give a list of the tasks available. |
349 | listtasks tasks is defined and will show available | ||
350 | tasks | ||
351 | -C INVALIDATE_STAMP, --clear-stamp=INVALIDATE_STAMP | 348 | -C INVALIDATE_STAMP, --clear-stamp=INVALIDATE_STAMP |
352 | Invalidate the stamp for the specified cmd such as | 349 | Invalidate the stamp for the specified task such as |
353 | 'compile' and run the default task for the specified | 350 | 'compile' and then run the default task for the |
354 | target(s) | 351 | specified target(s). |
355 | -r PREFILE, --read=PREFILE | 352 | -r PREFILE, --read=PREFILE |
356 | read the specified file before bitbake.conf | 353 | Read the specified file before bitbake.conf. |
357 | -R POSTFILE, --postread=POSTFILE | 354 | -R POSTFILE, --postread=POSTFILE |
358 | read the specified file after bitbake.conf | 355 | Read the specified file after bitbake.conf. |
359 | -v, --verbose output more chit-chat to the terminal | 356 | -v, --verbose Output more log message data to the terminal. |
360 | -D, --debug Increase the debug level. You can specify this more | 357 | -D, --debug Increase the debug level. You can specify this more |
361 | than once. | 358 | than once. |
362 | -n, --dry-run don't execute, just go through the motions | 359 | -n, --dry-run Don't execute, just go through the motions. |
363 | -S, --dump-signatures | 360 | -S, --dump-signatures |
364 | don't execute, just dump out the signature | 361 | Don't execute, just dump out the signature |
365 | construction information | 362 | construction information. |
366 | -p, --parse-only quit after parsing the BB files (developers only) | 363 | -p, --parse-only Quit after parsing the BB recipes. |
367 | -s, --show-versions show current and preferred versions of all recipes | 364 | -s, --show-versions Show current and preferred versions of all recipes. |
368 | -e, --environment show the global or per-package environment (this is | 365 | -e, --environment Show the global or per-package environment complete |
369 | what used to be bbread) | 366 | with information about where variables were |
370 | -g, --graphviz emit the dependency trees of the specified packages in | 367 | set/changed. |
371 | the dot syntax, and the pn-buildlist to show the build | 368 | -g, --graphviz Save dependency tree information for the specified |
372 | list | 369 | targets in the dot syntax. |
373 | -I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED | 370 | -I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED |
374 | Assume these dependencies don't exist and are already | 371 | Assume these dependencies don't exist and are already |
375 | provided (equivalent to ASSUME_PROVIDED). Useful to | 372 | provided (equivalent to ASSUME_PROVIDED). Useful to |
376 | make dependency graphs more appealing | 373 | make dependency graphs more appealing |
377 | -l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS | 374 | -l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS |
378 | Show debug logging for the specified logging domains | 375 | Show debug logging for the specified logging domains |
379 | -P, --profile profile the command and print a report | 376 | -P, --profile Profile the command and save reports. |
380 | -u UI, --ui=UI userinterface to use | 377 | -u UI, --ui=UI The user interface to use (e.g. knotty, hob, depexp). |
381 | -t SERVERTYPE, --servertype=SERVERTYPE | 378 | -t SERVERTYPE, --servertype=SERVERTYPE |
382 | Choose which server to use, process or xmlrpc | 379 | Choose which server to use, process or xmlrpc. |
383 | --revisions-changed Set the exit code depending on whether upstream | 380 | --revisions-changed Set the exit code depending on whether upstream |
384 | floating revisions have changed or not | 381 | floating revisions have changed or not. |
385 | --server-only Run bitbake without UI, the frontend can connect with | 382 | --server-only Run bitbake without a UI, only starting a server |
386 | bitbake server itself | 383 | (cooker) process. |
387 | -B BIND, --bind=BIND The name/address for the bitbake server to bind to | 384 | -B BIND, --bind=BIND The name/address for the bitbake server to bind to. |
388 | --no-setscene Do not run any setscene tasks, forces builds | 385 | --no-setscene Do not run any setscene tasks. sstate will be ignored |
386 | and everything needed, built. | ||
389 | --remote-server=REMOTE_SERVER | 387 | --remote-server=REMOTE_SERVER |
390 | Connect to the specified server | 388 | Connect to the specified server. |
391 | -m, --kill-server Terminate the remote server | 389 | -m, --kill-server Terminate the remote server. |
392 | --observe-only Connect to a server as an observing-only client | 390 | --observe-only Connect to a server as an observing-only client. |
393 | </screen> | 391 | </screen> |
394 | </section> | 392 | </section> |
395 | 393 | ||