summaryrefslogtreecommitdiff
path: root/conf/layer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/layer.conf')
-rw-r--r--conf/layer.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 6adad95..606446a 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -3,6 +3,10 @@ BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+# Recipes which backport later versions of other layers are placed here.
+# Only valid for Toradex distributions.
+BACKPORT_BBFILES = "${LAYERDIR}/backports/recipes-*/*/*.bb ${LAYERDIR}/backports/recipes-*/*/*.bbappend"
+BBFILES += "${@ d.getVar('BACKPORT_BBFILES') if 'tdx' in d.getVar('DISTROOVERRIDES').split(':') else ''}"
BBFILE_COLLECTIONS += "toradex-nxp-layer"
BBFILE_PATTERN_toradex-nxp-layer = "^${LAYERDIR}/"
@@ -22,4 +26,4 @@ LAYERDEPENDS_toradex-nxp-layer = " \
freescale-3rdparty \
toradex-bsp-common-layer \
"
-LAYERSERIES_COMPAT_toradex-nxp-layer = "gatesgarth hardknott"
+LAYERSERIES_COMPAT_toradex-nxp-layer = "nanbield scarthgap"