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

bsp: meson: fixup the imx meson backported #1479

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

quaresmajose
Copy link
Member

@quaresmajose quaresmajose commented Jun 27, 2024

Using the DEFAULT_PREFERENCE on the meson_0.63.3.imx.bb does not work in this case because
we cannot use the DEFAULT_PREFERENCE to choose versions in lower priority layers,
which are basically almost all of them because we have a very high priority value on the
BBFILE_PRIORITY.
So we need to also set the default PREFERRED_VERSION_meson with the version available
on oe-core because we can't use the DEFAULT_PREFERENCE.
Another issue fixed was the overrides used imx8-nxp-bsp and imx9-nxp-bsp that are not defined
on the IMX bsp layer, we can use the imx-generic-bsp which is common to all IMX.

Using the DEFAULT_PREFERENCE on the meson_0.63.3.imx.bb does not work in this case because
we cannot use the DEFAULT_PREFERENCE to choose versions in lower priority layers,
which are basically almost all of them because we have a very high priority value on the
BBFILE_PRIORITY.
So we need to also set the default PREFERRED_VERSION_meson with the version available
on oe-core because we can't use the DEFAULT_PREFERENCE.
Another issue fixed was the overrides used imx8-nxp-bsp and imx9-nxp-bsp that are not defined
on the IMX bsp layer, we can use the imx-generic-bsp which is common to all IMX.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Copy link
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@quaresmajose quaresmajose merged commit 915af2c into foundriesio:main Jun 28, 2024
@quaresmajose quaresmajose deleted the meson branch June 28, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants