layer.conf: avoid unnecessary early expansion with :=
bitbake handles immediate expansions of LAYERDIR for us automatically. (From OE-Core rev: 643ac87145eba5dc105377041bc3deb163b62926) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
683abbce58
commit
05985a7c22
|
@ -1,11 +1,11 @@
|
||||||
# We have a conf and classes directory, add to BBPATH
|
# We have a conf and classes directory, add to BBPATH
|
||||||
BBPATH := "${BBPATH}:${LAYERDIR}"
|
BBPATH .= ":${LAYERDIR}"
|
||||||
|
|
||||||
# We have a packages directory, add to BBFILES
|
# We have a packages directory, add to BBFILES
|
||||||
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
|
||||||
|
|
||||||
BBFILE_COLLECTIONS += "hob"
|
BBFILE_COLLECTIONS += "hob"
|
||||||
BBFILE_PATTERN_hob := "^${LAYERDIR}/"
|
BBFILE_PATTERN_hob = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_hob = "1"
|
BBFILE_PRIORITY_hob = "1"
|
||||||
|
|
||||||
# This should only be incremented on significant changes that will
|
# This should only be incremented on significant changes that will
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# We have a conf and classes directory, add to BBPATH
|
# We have a conf and classes directory, add to BBPATH
|
||||||
BBPATH := "${BBPATH}:${LAYERDIR}"
|
BBPATH .= ":${LAYERDIR}"
|
||||||
|
|
||||||
# We have a packages directory, add to BBFILES
|
# We have a packages directory, add to BBFILES
|
||||||
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
|
||||||
|
|
||||||
BBFILE_COLLECTIONS += "skeleton"
|
BBFILE_COLLECTIONS += "skeleton"
|
||||||
BBFILE_PATTERN_skeleton := "^${LAYERDIR}/"
|
BBFILE_PATTERN_skeleton = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_skeleton = "1"
|
BBFILE_PRIORITY_skeleton = "1"
|
||||||
|
|
||||||
# This should only be incremented on significant changes that will
|
# This should only be incremented on significant changes that will
|
||||||
|
|
|
@ -4,7 +4,7 @@ BBPATH .= ":${LAYERDIR}"
|
||||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
|
||||||
|
|
||||||
BBFILE_COLLECTIONS += "core"
|
BBFILE_COLLECTIONS += "core"
|
||||||
BBFILE_PATTERN_core := "^${LAYERDIR}/"
|
BBFILE_PATTERN_core = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_core = "5"
|
BBFILE_PRIORITY_core = "5"
|
||||||
|
|
||||||
# This should only be incremented on significant changes that will
|
# This should only be incremented on significant changes that will
|
||||||
|
@ -12,10 +12,10 @@ BBFILE_PRIORITY_core = "5"
|
||||||
LAYERVERSION_core = "1"
|
LAYERVERSION_core = "1"
|
||||||
|
|
||||||
# Set a variable to get to the top of the metadata location
|
# Set a variable to get to the top of the metadata location
|
||||||
COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'
|
COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'
|
||||||
|
|
||||||
# Set path to qemu image tests included in this layer
|
# Set path to qemu image tests included in this layer
|
||||||
QEMUIMAGETESTS := "${COREBASE}/scripts/qemuimage-tests"
|
QEMUIMAGETESTS = "${COREBASE}/scripts/qemuimage-tests"
|
||||||
|
|
||||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||||
sysvinit-inittab \
|
sysvinit-inittab \
|
||||||
|
|
Loading…
Reference in New Issue