From 0e03166f2668553d1fd9f108e17c2167ac33d19f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 8 Jan 2014 08:49:24 -0600 Subject: dev-manual: Edits to "Storing and Naming the Recipe" Re-ordered this such that the storage of the recipe comes first and that is followed by naming it. Also, formatted into a list to give a better sense of the suggested order. (From yocto-docs rev: aead82f034a097cbdfe38b3b1f09a60cc411d6ea) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 80 +++++++++++----------- 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index d9e31baca5..06555c3c51 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -1264,55 +1264,53 @@ -
- Naming the Recipe +
+ Storing and Naming the Recipe - Once you have your base recipe, you need to name it and be - sure that it resides where the OpenEmbedded build system - can find it. + Once you have your base recipe, you should put it in your + own layer and name it appropriately. + Locating it correctly ensures that the OpenEmbedded build + system can find it when you use BitBake to process the + recipe. - - When you name your recipe, you need to follow this naming - convention: - + + Storing Your Recipe: + The OpenEmbedded build system locates your recipe + through the layer.conf file and the + BBFILES + variable. + This variable sets up a path from which the build system can + locate recipes. + Here is the typical use: + + BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + + Consequently, you need to be sure you locate your new recipe + inside your layer such that it can be found. + You can find more information on how layers are + structured in the + "Understanding and Creating Layers" + section. + Naming Your Recipe: + When you name your recipe, you need to follow this naming + convention: + <basename>_<version>.bb - - Use lower-cased characters and do not include the reserved - suffixes -native, - -cross, -initial, - or -dev. - Here are some examples: - + + Use lower-cased characters and do not include the reserved + suffixes -native, + -cross, -initial, + or -dev. + Here are some examples: + cups_1.7.0.bb gawk_4.0.2.bb xdg-utils_1.1.0-rc1.bb - - - - - The OpenEmbedded build system locates your recipe through - the layer.conf file and the - BBFILES - variable. - This variable sets up a path from which the build system can - locate recipes. - Here is the typical use: - - BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ - ${LAYERDIR}/recipes-*/*/*.bbappend" - - Consequently, you need to be sure you locate your new recipe - inside your layer such that it can be found. - - - - You can find more information on how layers are structured - in the - "Understanding and Creating Layers" - section. - + +
-- cgit v1.2.3-54-g00ecf