]> code.ossystems Code Review - openembedded-core.git/commit
Enable build dir outside of the poky directory
authorJoshua Lock <josh@linux.intel.com>
Wed, 21 Jul 2010 13:55:39 +0000 (14:55 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 21 Jul 2010 14:39:53 +0000 (15:39 +0100)
commit971907567cff64e74f21d349d6751dadc8c09827
treee0cfd7ee0ba3091272eca5c5f1b90edffc3653aa
parent50629b3746c149b22bdd8664842a4c69abb2b989
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>
14 files changed:
build/conf/bblayers.conf.sample
build/conf/local.conf.sample
build/conf/site.conf.sample
handbook/extendpoky.xml
meta/classes/imagetest-qemu.bbclass
meta/classes/sanity.bbclass
meta/conf/layer.conf
meta/packages/qemu/qemu-helper-nativesdk_1.0.bb
poky-init-build-env
scripts/poky-env-internal
scripts/pstage-scanner
scripts/qemuimage-tests/sanity/boot
scripts/qemuimage-tests/sanity/ssh
scripts/runqemu