mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
This helps bitbake in organising BBPATH and BBFILES with given BBFILE_PRIORITY order (From OE-Core rev: 74c4c97cda7fbda68f8e6985eaad1c0e20998429) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
598 B
Plaintext
21 lines
598 B
Plaintext
BBPATH ?= ""
|
|
# We have a conf and classes directory, add to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
# We have a packages directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
|
|
|
|
BBFILE_COLLECTIONS += "normal"
|
|
BBFILE_PATTERN_normal := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_normal = "5"
|
|
|
|
# Set a variable to get to the top of the metadata location
|
|
COREBASE := ${@os.path.normpath("${LAYERDIR}/../")}
|
|
|
|
# Add scripts to PATH
|
|
PATH := "${PATH}:${COREBASE}/scripts"
|
|
|
|
# Set path to qemu image tests included in this layer
|
|
|
|
QEMUIMAGETESTS := "${COREBASE}/scripts/qemuimage-tests"
|
|
|