Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libimxdmabuffer: be explicit about dwl compatibility #2030

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

kwavnet
Copy link
Contributor

@kwavnet kwavnet commented Nov 13, 2024

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

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 <[email protected]>
@otavio otavio merged commit 83bf0b6 into Freescale:master Nov 13, 2024
Copy link
Contributor

Successfully created backport PR #2031 for scarthgap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants