[oe] Creating a pristine environment?

Cliff Brake cliff.brake at gmail.com
Thu May 8 12:06:49 UTC 2008


On Wed, May 7, 2008 at 8:15 PM, Holger Freyther <zecke at selfish.org> wrote:
> Hey,
>
>  I have seen raster's environment breaking various buildsystems and we might
>  want to really start having a clean environment before starting to build.
>
>  the patch below should implement it. Should we do this in OE? I'm aware of the
>  unexport inside OE but we really should do this the otherway around.

I currently use a few other env variables in my builds to make things
a little more convenient:
export OEDIR="/build/myproject/oe"
export TOPDIR="${OEDIR}/build/angstrom-2007.1"
export BBPATH="${OEDIR}/oe/custom:${TOPDIR}:${OEDIR}/oe/org.openembedded.dev"
export PATH="${OEDIR}/bitbake/bin:${PATH}"

and then in site.conf:
DL_DIR = "${OEDIR}/downloads"

BBFILES := "${OEDIR}/oe/org.openembedded.dev/packages/*/*.bb
${OEDIR}/oe/custom/packages/*/*.bb"
BBFILE_COLLECTIONS = "upstream custom"
BBFILE_PATTERN_upstream = "^${OEDIR}/oe/org.openembedded.dev/packages/"
BBFILE_PATTERN_custom = "^${OEDIR}/oe/custom/packages"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_custom = "10"

So, I would like OEDIR and TOPDIR included in the "good" list :-)

Thanks,
Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com




More information about the Openembedded-devel mailing list