diff options
author | Konrad Weihmann <konrad.weihmann@avnet.eu> | 2024-11-13 08:35:35 +0000 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-11-13 11:40:58 +0000 |
commit | d0bca7795341e279c5a37aadfe859b5564e21a35 (patch) | |
tree | b4a0317b20747e087b787ab2638424fd64dd7f5b | |
parent | 5c201950f2630876327a38ec0915bd4952211d30 (diff) | |
download | meta-freescale-d0bca7795341e279c5a37aadfe859b5564e21a35.tar.gz |
libimxdmabuffer: be explicit about dwl compatibility
PACKAGECONFIG[dwl] injects a direct dependency on imx-vpu-hantro which in itself is
only compatible with (mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)
When configuring a mx8mn based machine (e.g. imx8mn EVK)
the imx-vpu-hantro is skipped as not compatible, but a world build fails with
ERROR: Nothing PROVIDES 'imx-vpu-hantro'
(but /build/meta-freescale/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.2.bb DEPENDS on or otherwise requires it)
imx-vpu-hantro was skipped: incompatible with machine imx8mn-ddr4-evk (not in COMPATIBLE_MACHINE)
imx-vpu-hantro was skipped: incompatible with machine imx8mn-ddr4-evk (not in COMPATIBLE_MACHINE)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'gstreamer1.0-plugins-imx',
'libimxdmabuffer', 'imx-vpu-hantro']
Fix that by enabling dwl only for the same COMPATIBLE_MACHINE settings as in the imx-vpu-hantro recipe
Signed-off-by: Konrad Weihmann <konrad.weihmann@avnet.eu>
(cherry picked from commit 41130d76d93d2754595ee6c419fc81f3be21d17e)
-rw-r--r-- | recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb index b160c31d..ccca3f0e 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | |||
@@ -61,7 +61,9 @@ PACKAGECONFIG:append:imxpxp = " pxp" | |||
61 | # former is not available pre-5.6. Out of the dma-heaps, we | 61 | # former is not available pre-5.6. Out of the dma-heaps, we |
62 | # pick the uncached one by default (see above). | 62 | # pick the uncached one by default (see above). |
63 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" | 63 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" |
64 | PACKAGECONFIG:append:mx8m-nxp-bsp = " dwl" | 64 | PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" |
65 | PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" | ||
66 | PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" | ||
65 | 67 | ||
66 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" | 68 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" |
67 | 69 | ||