# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "meta-everest"
BBFILE_PATTERN_meta-everest = "^${LAYERDIR}/"

LAYERDEPENDS_meta-everest = "core"
LAYERSERIES_COMPAT_meta-everest = "kirkstone"

# prefer version from recipes-backports
PREFERRED_VERSION_tpm2-openssl ??= "1.3%"

EVEREST_CORE_PATH = "${LAYERDIR}/../../.."
EVEREST_CORE_PARENT_PATH = "${EVEREST_CORE_PATH}/.."
EVEREST_CORE_REPONAME ?= "${@os.path.basename(os.path.abspath(d.getVar("EVEREST_CORE_PATH")))}"
