Fix up i.MX8MQ EVK configuration
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_imx8mq-evk.inc
1 require agl_imx8mq-evk-common.inc
2
3 # NOTE:
4 # Currently using the upstream default of IMX_DEFAULT_BSP = "mainline",
5 # since we want to use the etnaviv driver and upstream Mesa + weston
6 # stack.  More tweaks are required to accomplish that if the BSP is set
7 # to "nxp".
8
9 # Force use of the community supported hybrid NXP/LTS kernel instead of
10 # the default linux-fslc.  This is required to get the drivers required
11 # for HDMI output.
12 IMX_DEFAULT_KERNEL:imx8mq-evk = "linux-fslc-imx"
13
14 # Tweaks to allow using linux-fslc-imx on its own without the whole
15 # NXP BSP.  Just the DISTROOVERRIDES change on its own is not enough,
16 # as COMPATIBLE_MACHINE is evaluated early enough that the recipe is
17 # not seen as compatible without an explicit override.
18 COMPATIBLE_MACHINE:pn-linux-fslc-imx = "(imx8mq-evk)"
19 DISTROOVERRIDES:pn-linux-fslc-imx:append = "mx8-nxp-bsp"
20
21 # Add our own over-ride for use in a few recipes where there is
22 # conflicting Vivante vs etnaviv configuration.
23 MACHINEOVERRIDES .= ":etnaviv"