From 971907567cff64e74f21d349d6751dadc8c09827 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 21 Jul 2010 14:55:39 +0100 Subject: Enable build dir outside of the poky directory You need to first set up the build directory by sourcing the poky build script, after that builds can be run in that directory so long as bitbake is in $PATH removing the need to source the init script for each build. i.e: $ . poky-init-build-env ~/my-build $ bitbake some-image <> $ cd ~/my-build $ export PATH=/path/to/bitbake/bin:$PATH $ bitbake an-image This patch also removes use of OEROOT in recipes, etc. Signed-off-by: Joshua Lock --- handbook/extendpoky.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'handbook') diff --git a/handbook/extendpoky.xml b/handbook/extendpoky.xml index d03284d0e3..18edb1ac95 100644 --- a/handbook/extendpoky.xml +++ b/handbook/extendpoky.xml @@ -535,7 +535,7 @@ bitbake poky-image-sato supported and non-invasive fashion. - + The Poky tree includes two additional layers which demonstrate this functionality, meta-moblin and meta-extras. The meta-extras repostory is not enabled by default but enabling @@ -547,12 +547,12 @@ bitbake poky-image-sato BBFILES ?= "" BBLAYERS = " \ - ${OEROOT}/meta \ - ${OEROOT}/meta-moblin \ - ${OEROOT}/meta-extras \ + /path/to/poky/meta \ + /path/to/poky/meta-moblin \ + /path/to/poky/meta-extras \ " - + Bitbake parses the conf/layer.conf of each of the layers in BBLAYERS @@ -609,7 +609,7 @@ require conf/distro/include/poky-extras-src-revisions.inc git repository of the format meta-prvt-XXXX and have this repository cloned alongside the other meta directories in the Poky tree. This way you can keep your Poky tree and it's configuration entirely - inside OEROOT. + inside POKYBASE. -- cgit 1.2.3-korg