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 --- meta/packages/qemu/qemu-helper-nativesdk_1.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meta/packages/qemu/qemu-helper-nativesdk_1.0.bb') diff --git a/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb b/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb index 5d8e45f123..a4294ef5cf 100644 --- a/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb +++ b/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb @@ -5,11 +5,11 @@ PR = "r7" FILESPATH = "${FILE_DIRNAME}/qemu-helper" -SRC_URI = "file://${OEROOT}/scripts/poky-qemu \ - file://${OEROOT}/scripts/poky-qemu-internal \ - file://${OEROOT}/scripts/poky-addptable2image \ - file://${OEROOT}/scripts/poky-qemu-ifup \ - file://${OEROOT}/scripts/poky-qemu-ifdown \ +SRC_URI = "file://${POKYBASE}/scripts/poky-qemu \ + file://${POKYBASE}/scripts/poky-qemu-internal \ + file://${POKYBASE}/scripts/poky-addptable2image \ + file://${POKYBASE}/scripts/poky-qemu-ifup \ + file://${POKYBASE}/scripts/poky-qemu-ifdown \ file://raw2flash.c" S = "${WORKDIR}" @@ -23,7 +23,7 @@ do_compile() { do_install() { install -d ${D}${bindir} - install -m 0755 ${WORKDIR}${OEROOT}/scripts/poky-* ${D}${bindir}/ + install -m 0755 ${WORKDIR}${POKYBASE}/scripts/poky-* ${D}${bindir}/ install raw2flash.spitz ${D}${bindir}/ install flash2raw.spitz ${D}${bindir}/ ln -fs raw2flash.spitz ${D}${bindir}/raw2flash.akita -- cgit 1.2.3-korg