summaryrefslogtreecommitdiffstats
path: root/handbook
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-07-21 14:55:39 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-21 15:39:53 +0100
commit971907567cff64e74f21d349d6751dadc8c09827 (patch)
treee0cfd7ee0ba3091272eca5c5f1b90edffc3653aa /handbook
parent50629b3746c149b22bdd8664842a4c69abb2b989 (diff)
downloadpoky-971907567cff64e74f21d349d6751dadc8c09827.tar.gz
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 <<later, in a different shell>> $ 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 <josh@linux.intel.com>
Diffstat (limited to 'handbook')
-rw-r--r--handbook/extendpoky.xml12
1 files changed, 6 insertions, 6 deletions
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
535 supported and non-invasive fashion. 535 supported and non-invasive fashion.
536 </para> 536 </para>
537 537
538 <para> 538 <para>
539 The Poky tree includes two additional layers which demonstrate 539 The Poky tree includes two additional layers which demonstrate
540 this functionality, meta-moblin and meta-extras. 540 this functionality, meta-moblin and meta-extras.
541 The meta-extras repostory is not enabled by default but enabling 541 The meta-extras repostory is not enabled by default but enabling
@@ -547,12 +547,12 @@ bitbake poky-image-sato
547 547
548BBFILES ?= "" 548BBFILES ?= ""
549BBLAYERS = " \ 549BBLAYERS = " \
550 ${OEROOT}/meta \ 550 /path/to/poky/meta \
551 ${OEROOT}/meta-moblin \ 551 /path/to/poky/meta-moblin \
552 ${OEROOT}/meta-extras \ 552 /path/to/poky/meta-extras \
553 " 553 "
554</literallayout> 554</literallayout>
555 </para> 555 </para>
556 556
557 <para> 557 <para>
558 Bitbake parses the conf/layer.conf of each of the layers in BBLAYERS 558 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
609 git repository of the format meta-prvt-XXXX and have this repository 609 git repository of the format meta-prvt-XXXX and have this repository
610 cloned alongside the other meta directories in the Poky tree. 610 cloned alongside the other meta directories in the Poky tree.
611 This way you can keep your Poky tree and it's configuration entirely 611 This way you can keep your Poky tree and it's configuration entirely
612 inside OEROOT. 612 inside POKYBASE.
613 </para> 613 </para>
614 </section> 614 </section>
615 615