diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-10-06 13:47:29 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-10-06 13:47:29 -0300 |
| commit | 0ddddfb24dc6bfe7cddb12ef39b4cd201a8c2ba0 (patch) | |
| tree | 108b3386094364f91ecff8fa8324ea86268a9cdf /conf/machine/include | |
| parent | a0e9d3365c57563d1214509e2e7243302d86f65e (diff) | |
| download | meta-freescale-0ddddfb24dc6bfe7cddb12ef39b4cd201a8c2ba0.tar.gz | |
imx-base: Build the consumers of per-SoC recipes per SoC
fsl-dynamic-packagearch moves a recipe to MACHINE_SOCARCH only when it
directly depends on something in MACHINE_SOCARCH_FILTER. A recipe built
against one of those per-SoC recipes keeps the shared tune arch, so two
SoCs build it differently under one package arch: connman-gnome, the
matchbox applications and the xf86 drivers through gtk+3 and the X
server, libva-utils through libva, the libsndfile1 and pulseaudio
consumers on the NXP BSP, and on the GPU-less i.MX 9 parts the whole GL
stack, which builds on the per-SoC libdrm-imx.
List the per-SoC recipes that others build against, so that their
consumers follow them: libdrm and the GL providers on the NXP BSP, GPU
or not, its audio chain, and gtk+3, gtk4, libepoxy, libva,
virtual/xserver, vulkan-loader, webkitgtk and packagegroup-self-hosted
on both BSPs.
Checked with bitbake -S lockedsigs world on 18 i.MX and Layerscape
machines covering every i.MX tune: no task signature differs between
machines sharing a package arch. The moved packages keep their content.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'conf/machine/include')
| -rw-r--r-- | conf/machine/include/imx-base.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 6e60143f0..ff6db1b14 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -411,6 +411,36 @@ MACHINE_SOCARCH_FILTER:append:mx8qm-nxp-bsp = " \ | |||
| 411 | virtual/libopenvx \ | 411 | virtual/libopenvx \ |
| 412 | " | 412 | " |
| 413 | 413 | ||
| 414 | # fsl-dynamic-packagearch promotes only the direct consumers of the recipes | ||
| 415 | # above, but a recipe built against one of those consumers differs per SoC as | ||
| 416 | # well. List the consumers that other recipes build against, so that their | ||
| 417 | # own consumers follow them instead of differing under the shared tune. | ||
| 418 | # | ||
| 419 | # On the NXP BSP libdrm is the per-SoC libdrm-imx even without a GPU, so the | ||
| 420 | # GL stack built on it follows it there too. | ||
| 421 | MACHINE_SOCARCH_FILTER:append:imx-nxp-bsp = " \ | ||
| 422 | libdrm \ | ||
| 423 | libsndfile1 \ | ||
| 424 | mpg123 \ | ||
| 425 | pulseaudio \ | ||
| 426 | virtual/egl \ | ||
| 427 | virtual/libgl \ | ||
| 428 | virtual/libgles2 \ | ||
| 429 | virtual/mesa \ | ||
| 430 | " | ||
| 431 | MACHINE_SOCARCH_CONSUMERS = " \ | ||
| 432 | gtk+3 \ | ||
| 433 | gtk4 \ | ||
| 434 | libepoxy \ | ||
| 435 | libva \ | ||
| 436 | packagegroup-self-hosted \ | ||
| 437 | virtual/xserver \ | ||
| 438 | vulkan-loader \ | ||
| 439 | webkitgtk \ | ||
| 440 | " | ||
| 441 | MACHINE_SOCARCH_FILTER:append:imx-nxp-bsp = " ${MACHINE_SOCARCH_CONSUMERS}" | ||
| 442 | MACHINE_SOCARCH_FILTER:append:imx-mainline-bsp = " ${MACHINE_SOCARCH_CONSUMERS}" | ||
| 443 | |||
| 414 | INHERIT += "fsl-dynamic-packagearch" | 444 | INHERIT += "fsl-dynamic-packagearch" |
| 415 | 445 | ||
| 416 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \ | 446 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \ |
