From 45915123a727f86b106da7ccb761b23067b1ff88 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 10 Dec 2012 18:39:59 -0600 Subject: Documentation: poky-ref-manual - Updates to WORKDIR structure The file structure beneath WORKDIR has changed such that PN and PV are now separate directories. This affected several areas in poky-ref-manual. (From yocto-docs rev: 52b033c2c9e5aaa1f03072dd16c21a9d59a87150) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/ref-variables.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'documentation/poky-ref-manual/ref-variables.xml') diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 2765c2f1c9..c490fc360d 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -99,7 +99,7 @@ By default, this directory is the same as the S directory: - B = ${WORKDIR}/${BPN}-{PV}/ + B = ${WORKDIR}/${BPN}/{PV}/ You can separate the (S) directory and the directory pointed to by the B variable. @@ -2450,7 +2450,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" package version (PV) as follows: - ${WORKDIR}/${PN}-${PV} + ${WORKDIR}/${PN}/${PV} As an example, assume a Source Directory top-level @@ -2460,7 +2460,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" In this case, the working directory the build system uses to build the db package is the following: - ~/poky/build/tmp/work/qemux86-poky-linux/db-5.1.19-r3/db-5.1.19 + ~/poky/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/db-5.1.19 @@ -2967,7 +2967,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" For packages that are not dependent on a particular machine, WORKDIR is defined as follows: - ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR} + ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}/${PV}-${PR} As an example, assume a Source Directory top-level @@ -2977,7 +2977,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" In this case, the working directory the build system uses to build the v86d package is the following: - ~/poky/build/tmp/work/qemux86-poky-linux/v86d-01.9-r0 + ~/poky/build/tmp/work/qemux86-poky-linux/v86d/01.9-r0 @@ -2985,7 +2985,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" For packages that are dependent on a particular machine, WORKDIR is defined slightly different: - ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}-${PV}-${PR} + ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}/${PV}-${PR} As an example, again assume a Source Directory top-level folder named poky and a default Build Directory @@ -2994,7 +2994,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" the acl recipe, which is being built for a MIPS-based device, is the following: - ~/poky/build/tmp/work/mips-poky-linux/acl-2.2.51-r2 + ~/poky/build/tmp/work/mips-poky-linux/acl/2.2.51-r2 -- cgit v1.2.3-54-g00ecf