From 8615d47a3a39e78fb7cf29ee92203d18a2439a3b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 26 Dec 2018 16:22:32 -0800 Subject: bitbake: bitbake-user-manual: Created unique tags for glossary variables. Fixes [YOCTO #12399] The bug was to get the BitBake User Manual into the YP Mega-manual. All the changes here create unique tags used with variables in the BitBake Manual. Prior to the fix, tags were identical between like variables in the YP reference manual and the BitBake User Manual. The reason for this is because when I created the BitBake manual's glossary, it was a cut-and-paste operation to get the bulk of the work started. At the time, the BitBake User Manual was not a part of the Mega-manual. Once we decided to include the BitBake User Manual as part of the Mega-Manual, building the mega-manual produced warnings for all these duplicate links. To fix, I have updated the variable tags in the BitBake User Manual to use the following form: 'var-bb-' The tags used in the YP ref-manual follow this form (original): 'var-' (Bitbake rev: fb6de2057aae3fbdf37f007d2e47794b332020e1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../bitbake-user-manual-hello.xml | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml') diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml index 9076f0fcd4..39066e4b15 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.xml @@ -194,7 +194,7 @@ When you run BitBake, it begins looking for metadata files. The - BBPATH + BBPATH variable is what tells BitBake where to look for those files. BBPATH is not set and you need to set it. Without BBPATH, Bitbake cannot @@ -273,14 +273,14 @@ some editor to create the bitbake.conf so that it contains the following: - PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" + PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}" - TMPDIR = "${TOPDIR}/tmp" - CACHE = "${TMPDIR}/cache" - STAMP = "${TMPDIR}/${PN}/stamps" - T = "${TMPDIR}/${PN}/work" - B = "${TMPDIR}/${PN}" + TMPDIR = "${TOPDIR}/tmp" + CACHE = "${TMPDIR}/cache" + STAMP = "${TMPDIR}/${PN}/stamps" + T = "${TMPDIR}/${PN}/work" + B = "${TMPDIR}/${PN}" Without a value for PN, the @@ -402,12 +402,12 @@ Move to the conf directory and create a layer.conf file that has the following: - BBPATH .= ":${LAYERDIR}" + BBPATH .= ":${LAYERDIR}" - BBFILES += "${LAYERDIR}/*.bb" + BBFILES += "${LAYERDIR}/*.bb" - BBFILE_COLLECTIONS += "mylayer" - BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/" + BBFILE_COLLECTIONS += "mylayer" + BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/" For information on these variables, click the links to go to the definitions in the glossary. @@ -416,9 +416,9 @@ a recipe file named printhello.bb that has the following: - DESCRIPTION = "Prints Hello World" - PN = 'printhello' - PV = '1' + DESCRIPTION = "Prints Hello World" + PN = 'printhello' + PV = '1' python do_build() { bb.plain("********************"); -- cgit v1.2.3-54-g00ecf