mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
layers: consolidate layer priority to match oe-core
Without exceptional justification there is no good reason for layers to have a priority other than 5, to match oe-core. If a layer has a priority higher than oe-core's then recipes in that layer take immediate preference over those in oe-core and there's no simple way to resolve this as that is exactly what is meant to happen. As a concrete example, meta-arm-bsp contains older releases of U-Boot for platforms that have not yet moved to the latest release in oe-core. As the priority of meta-arm-bsp is higher, simply adding this layer to a qemuarm build will immediately downgrade u-boot. As there is no exceptional justification for the differing priorities, unify on 5. Change-Id: I1975753b4a9799cc00310a7c8a6a11c2aef41f65 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -9,7 +9,7 @@ BBFILES += " \
|
|||||||
|
|
||||||
BBFILE_COLLECTIONS += "meta-arm-autonomy"
|
BBFILE_COLLECTIONS += "meta-arm-autonomy"
|
||||||
BBFILE_PATTERN_meta-arm-autonomy = "^${LAYERDIR}/"
|
BBFILE_PATTERN_meta-arm-autonomy = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_meta-arm-autonomy = "6"
|
BBFILE_PRIORITY_meta-arm-autonomy = "5"
|
||||||
LAYERDEPENDS_meta-arm-autonomy = " \
|
LAYERDEPENDS_meta-arm-autonomy = " \
|
||||||
core \
|
core \
|
||||||
yocto \
|
yocto \
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|||||||
|
|
||||||
BBFILE_COLLECTIONS += "meta-arm-bsp"
|
BBFILE_COLLECTIONS += "meta-arm-bsp"
|
||||||
BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
|
BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_meta-arm-bsp = "6"
|
BBFILE_PRIORITY_meta-arm-bsp = "5"
|
||||||
|
|
||||||
LAYERSERIES_COMPAT_meta-arm-bsp = "gatesgarth"
|
LAYERSERIES_COMPAT_meta-arm-bsp = "gatesgarth"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ BBFILES += "\
|
|||||||
|
|
||||||
BBFILE_COLLECTIONS += "arm-toolchain"
|
BBFILE_COLLECTIONS += "arm-toolchain"
|
||||||
BBFILE_PATTERN_arm-toolchain := "^${LAYERDIR}/"
|
BBFILE_PATTERN_arm-toolchain := "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_arm-toolchain = "30"
|
BBFILE_PRIORITY_arm-toolchain = "5"
|
||||||
|
|
||||||
# Additional license directories.
|
# Additional license directories.
|
||||||
LICENSE_PATH += "${LAYERDIR}/custom-licenses"
|
LICENSE_PATH += "${LAYERDIR}/custom-licenses"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
|||||||
|
|
||||||
BBFILE_COLLECTIONS += "meta-gem5"
|
BBFILE_COLLECTIONS += "meta-gem5"
|
||||||
BBFILE_PATTERN_meta-gem5 = "^${LAYERDIR}/"
|
BBFILE_PATTERN_meta-gem5 = "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_meta-gem5 = "6"
|
BBFILE_PRIORITY_meta-gem5 = "5"
|
||||||
|
|
||||||
LAYERDEPENDS_meta-gem5 = "core openembedded-layer"
|
LAYERDEPENDS_meta-gem5 = "core openembedded-layer"
|
||||||
LAYERSERIES_COMPAT_meta-gem5 = "gatesgarth"
|
LAYERSERIES_COMPAT_meta-gem5 = "gatesgarth"
|
||||||
|
|||||||
Reference in New Issue
Block a user