From 42d3b4431399f1da9097051765e54fea3917efe2 Mon Sep 17 00:00:00 2001 From: Chase Maupin Date: Wed, 26 May 2010 03:09:33 +0000 Subject: docs/metadata: Fix documentation errors * Fixed up typos and other errors in the documentation. Acked-by: Koen Kooi Signed-off-by: Chase Maupin Signed-off-by: Denys Dmytriyenko --- docs/usermanual/chapters/metadata.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/usermanual/chapters/metadata.xml b/docs/usermanual/chapters/metadata.xml index bbf6f733bb..794c66ce15 100644 --- a/docs/usermanual/chapters/metadata.xml +++ b/docs/usermanual/chapters/metadata.xml @@ -95,7 +95,7 @@ OpenEmbedded has files ending with .conf, .inc, .bb - and.bbclass. The syntax and semantics of these files + and .bbclass. The syntax and semantics of these files are best described in the BitBake manual. @@ -111,7 +111,7 @@
Writing Meta Data (Adding packages) - This page will guide you trough the effort of writing a .bb file or + This page will guide you through the effort of writing a .bb file or recipe in BitBake speak. Let's start with the easy stuff, like the package description, @@ -128,23 +128,23 @@ DEPENDS = "gtk+" RDEPENDS = "cool-ttf-fonts" The package needs gtk+ to build ('DEPENDS') and requires the 'cool-ttf-fonts' package to run ('RDEPENDS'). OE will add - run-time dependencies on libraries on its own via the so called - shlibs-code, but you need to specify everything other + run-time dependencies on libraries on its own via the so called + shlibs-code, but you need to specify everything else by yourself, which in this case is the 'cool-ttf-fonts' package. After entering all this OE will know what to build before trying to build your application, but it doesn't know where to get it yet. So let's add the source location: SRC_URI = "http://www.host.com/foo/files/${P}.tar.bz2;md5sum=yoursum" - This will tell the fetcher to where to download the + This will tell the fetcher where to download the sources from and it will check the integrity using md5sum if you provided the appropriate yoursum. You can make one by doing md5sum foo-1.9.tar.bz2 and replacing yoursum with the md5sum on your screen. A typical - md5sum will look like this: a6434b0fc8a54c3dec3d6875bf3be8mtn Notice - the ${P} variable, that one holds the package name, - ${PN} in BitBake speak and the package version, - ${PV} in BitBake speak. It's a short way of writing + md5sum will look like this: a6434b0fc8a54c3dec3d6875bf3be868 Notice + the ${P} variable holds the package name + (${PN} in BitBake speak) and the package version + (${PV} in BitBake speak). It's a short way of writing ${PN}-${PV}. Using this notation means you can copy the recipe when a new version is released without having to alter the contents. You do need to check if everything is still correct, because new -- cgit 1.2.3-korg