# We have a conf and classes directory, append to BBPATH BBPATH .= ":${LAYERDIR}" # We have a recipes directory, add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "rust-layer" BBFILE_PATTERN_rust-layer := "^${LAYERDIR}/" BBFILE_PRIORITY_rust-layer = "7" LAYERDEPENDS_rust-layer = "core openembedded-layer" LAYERSERIES_COMPAT_rust-layer = "dunfell gatesgarth hardknott honister kirkstone" # Override security flags require conf/distro/include/rust_security_flags.inc