From 2f050af9822a913f04c881cc2590586b8f26d641 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 30 Mar 2015 13:35:44 -0700 Subject: dev-manual: Updates to the receiptool section. Applied review comments from Paul Eggleton. (From yocto-docs rev: 403c9ae5443eaf2a115e2224f07ee19f98c8139d) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 79a3da3..b35dc2f 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -1294,10 +1294,16 @@ or oe-init-build-env-memres). Here is the basic recipetool syntax: + + Running recipetool -h or + recipetool create -h produces the + Python-generated help, which presented differently + than what follows here. + recipetool -h recipetool create [-h] - recipetool [-d] [-q] [--color auto | always | never ] create [-o OUTFILE] [-m] [-x EXTERNALSRC] source + recipetool [-d] [-q] [--color auto | always | never ] create -o OUTFILE [-m] [-x EXTERNALSRC] source -d Enables debug output. -q Outputs only errors (quiet mode). @@ -1320,9 +1326,9 @@ - Running recipetool creates the base - recipe and locates it properly in the layer that contains - your source files. + Running recipetool create -o OUTFILE + creates the base recipe and locates it properly in the + layer that contains your source files. Following are some syntax examples: @@ -1331,20 +1337,14 @@ Once generated, the recipe resides in the existing source code layer: - recipetool create source + recipetool create -o OUTFILE source Use this syntax to generate a recipe using code that you extract from source. The extracted code is placed in its own layer defined by EXTERNALSRC. - recipetool create -x EXTERNALSRC source - - Use this syntax to generate a recipe and override the - tool's default placement of the recipe by specifying both - its location and name using OUTFILE. - - recipetool create -o OUTFILE source + recipetool create -o OUTFILE -x EXTERNALSRC source Use this syntax to generate a recipe based on source. The options direct recipetool to -- cgit v1.1