diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-02-24 10:15:47 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-06-06 17:12:21 +0200 |
commit | cb12f7e6784b9ca363097fd6ea26b508c7a58936 (patch) | |
tree | 509e363cc15c954631a2a3ff2c43920d7b1826b9 /conf | |
parent | feeef957827f2ddeffa720f2630f7d15a74a2636 (diff) |
layer.conf: let backport recipes only valid for Toradex
We have some backport recipes let's keep them valid only for Toradex
distros.
Related-to: ELB-3046
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 8ef7ef817dfb53e816e0224e701c7806f53c69e7)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 5fbc62f..c585ad9 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}/" |