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 --- scripts/qemuimage-tests/sanity/boot | 3 +-- scripts/qemuimage-tests/sanity/ssh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/qemuimage-tests') diff --git a/scripts/qemuimage-tests/sanity/boot b/scripts/qemuimage-tests/sanity/boot index b4c0094f25..57b204b170 100755 --- a/scripts/qemuimage-tests/sanity/boot +++ b/scripts/qemuimage-tests/sanity/boot @@ -9,8 +9,7 @@ # This file is licensed under the GNU General Public License, # Version 2. # - -. $OEROOT/scripts/qemuimage-testlib +. $POKYBASE/scripts/qemuimage-testlib TIMEOUT=120 QEMU_IPADDR="192.168.7.2" diff --git a/scripts/qemuimage-tests/sanity/ssh b/scripts/qemuimage-tests/sanity/ssh index 7dd895951c..3c7638cc2e 100755 --- a/scripts/qemuimage-tests/sanity/ssh +++ b/scripts/qemuimage-tests/sanity/ssh @@ -9,7 +9,7 @@ # Version 2. # -. $OEROOT/scripts/qemuimage-testlib +. $POKYBASE/scripts/qemuimage-testlib TIMEOUT=360 QEMU_IPADDR="192.168.7.2" -- cgit v1.2.3-54-g00ecf