Switch to bblayers configuration
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
666c753d4b
commit
90040ce7b5
|
@ -0,0 +1,5 @@
|
||||||
|
BBFILES ?= ""
|
||||||
|
BBLAYERS = " \
|
||||||
|
${OEROOT}/meta \
|
||||||
|
${OEROOT}/meta-moblin \
|
||||||
|
"
|
|
@ -2,16 +2,6 @@
|
||||||
DL_DIR ?= "${OEROOT}/sources"
|
DL_DIR ?= "${OEROOT}/sources"
|
||||||
# Where to cache Poky's built staging output
|
# Where to cache Poky's built staging output
|
||||||
PSTAGE_DIR ?= "${OEROOT}/pstage"
|
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.
|
# Uncomment and set to allow bitbake to execute multiple tasks at once.
|
||||||
# For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
|
# For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
|
||||||
|
|
|
@ -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"
|
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -93,11 +93,17 @@ fi
|
||||||
if [ "x" = "x$POKYLOCALCONF" ]; then
|
if [ "x" = "x$POKYLOCALCONF" ]; then
|
||||||
POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample"
|
POKYLOCALCONF="$BUILDDIR/conf/local.conf.sample"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! (test -r "$BUILDDIR/conf/local.conf"); then
|
if ! (test -r "$BUILDDIR/conf/local.conf"); then
|
||||||
cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
|
cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
|
||||||
fi
|
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
|
export BBPATH OEROOT BUILD_SYS BUILDDIR
|
||||||
|
|
||||||
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make
|
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make
|
||||||
|
|
Loading…
Reference in New Issue