From b8ad433ff3bc2086524a7c6281f2a528386ff405 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 22 Sep 2016 07:56:25 -0700 Subject: [PATCH] dev-manual: Applied review edits to the "writing new recipe" Applied various edits to the "Writing a New Recipe" section. Several nits. (From yocto-docs rev: 17818ff89805e0df3a0445f64a4f9133550fa7d0) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 9521c7cd56..3024252b76 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -1260,11 +1260,11 @@ devtool add: A command that assists in creating a recipe and - an environment condusive to development. + an environment conducive to development. - recipetool: - A tool provided by the Yocto Project that automates + recipetool create: + A command provided by the Yocto Project that automates creation of a base recipe based on the source files. @@ -1294,18 +1294,17 @@ You can find a complete description of the devtool add command in the - "Use devtool add to Add an Application" - section in the Yocto Project Software Development Kit (SDK) - Developer's Guide. + "Use devtool add to Add an Application" + section.
- Creating the Base Recipe Using <filename>recipetool</filename> + Creating the Base Recipe Using <filename>recipetool create</filename> - recipetool automates creation of - a base recipe given a set of source code files. + recipetool create automates creation + of a base recipe given a set of source code files. As long as you can extract or point to the source files, the tool will construct a recipe and automatically configure all pre-build information into the recipe. @@ -1832,7 +1831,7 @@ The quickest way to find this path is to have BitBake return it by running the following: - $ bitbake -e recipename | grep ^WORKDIR= + $ bitbake -e basename | grep ^WORKDIR= As an example, assume a Source Directory top-level folder named poky, a default Build Directory at