Switch to bblayers configuration

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-03-22 18:11:41 +00:00
parent 666c753d4b
commit 90040ce7b5
5 changed files with 32 additions and 11 deletions

View File

@ -0,0 +1,5 @@
BBFILES ?= ""
BBLAYERS = " \
${OEROOT}/meta \
${OEROOT}/meta-moblin \
"

View File

@ -2,16 +2,6 @@
DL_DIR ?= "${OEROOT}/sources"
# Where to cache Poky's built staging output
PSTAGE_DIR ?= "${OEROOT}/pstage"
BBFILES += "\
${OEROOT}/meta/packages/*/*.bb \
${OEROOT}/meta-moblin/packages/*/*.bb"
BBFILE_COLLECTIONS = "normal moblin"
BBFILE_PATTERN_normal = "^${OEROOT}/meta/"
BBFILE_PATTERN_moblin = "^${OEROOT}/meta-moblin/"
BBFILE_PRIORITY_normal = "5"
BBFILE_PRIORITY_moblin = "5"
# Uncomment and set to allow bitbake to execute multiple tasks at once.
# For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would

View File

@ -0,0 +1,9 @@
# We have a conf and classes directory, add to BBPATH
BBPATH := "${BBPATH}${LAYERDIR}"
# We have a packages directory, add to BBFILES
BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb"
BBFILE_COLLECTIONS += "moblin"
BBFILE_PATTERN_moblin := "^${OEROOT}/meta-moblin/"
BBFILE_PRIORITY_moblin = "5"

11
meta/conf/layer.conf Normal file
View File

@ -0,0 +1,11 @@
# We have a conf and classes directory, add to BBPATH
BBPATH := "${BBPATH}${LAYERDIR}"
# We have a packages directory, add to BBFILES
BBFILES := "${BBFILES} ${LAYERDIR}/packages/*/*.bb"
BBFILE_COLLECTIONS += "normal""
BBFILE_PATTERN_normal := "^${LAYERDIR}/meta/"
BBFILE_PRIORITY_normal = "5"

View File

@ -93,11 +93,17 @@ fi
if [ "x" = "x$POKYLOCALCONF" ]; then
POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample"
fi
if ! (test -r "$BUILDDIR/conf/local.conf"); then
cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
fi
if [ "x" = "x$POKYLAYERCONF" ]; then
POKYLAYERCONF="$BUILDDIR/conf/bblayers.conf.sample"
fi
if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
cp -f $POKYLAYERCONF $BUILDDIR/conf/bblayers.conf
fi
export BBPATH OEROOT BUILD_SYS BUILDDIR
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make