summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-02-18 19:43:56 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2022-02-21 20:06:28 -0300
commit30f5ce1d2168389295b4813e01898c2fb0f9bab9 (patch)
treef6f78dbf8e5eef40510739dc1db79d60f05189fb
parenta3b102a9ed12ea03e72f713ed40968da1776c6d3 (diff)
downloadmeta-freescale-30f5ce1d2168389295b4813e01898c2fb0f9bab9.tar.gz
Generalize overrides subsystem for NXP and Mainline support
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--classes/image_types_fsl.bbclass2
-rw-r--r--classes/mfgtool-initramfs-image.bbclass2
-rw-r--r--classes/use-imx-headers.bbclass4
-rw-r--r--classes/use-imx-security-controller-firmware.bbclass8
-rw-r--r--conf/machine/include/imx-base.inc336
-rw-r--r--dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx-nxp-bsp/0016-xserver-common-enable-iglx-module.patch (renamed from dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch)0
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6-nxp-bsp/g++.conf (renamed from dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6/g++.conf)0
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6-nxp-bsp/linux.conf (renamed from dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6/linux.conf)0
-rw-r--r--recipes-bsp/alsa-state/alsa-state.bbappend14
-rw-r--r--recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf (renamed from recipes-bsp/alsa-state/alsa-state/imx/asound.conf)0
-rwxr-xr-xrecipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.state (renamed from recipes-bsp/alsa-state/alsa-state/imx/asound.state)0
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx-8_8.14.bb6
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx-8m_8.14.bb2
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_8.14.bb2
-rw-r--r--recipes-bsp/formfactor/formfactor/mx6-nxp-bsp/machconfig (renamed from recipes-bsp/formfactor/formfactor/mx6/machconfig)0
-rw-r--r--recipes-bsp/formfactor/formfactor/mx6sll-nxp-bsp/machconfig (renamed from recipes-bsp/formfactor/formfactor/mx6sll/machconfig)0
-rw-r--r--recipes-bsp/formfactor/formfactor/mx6ul-nxp-bsp/machconfig (renamed from recipes-bsp/formfactor/formfactor/mx6ul/machconfig)0
-rw-r--r--recipes-bsp/formfactor/formfactor/mx7-nxp-bsp/machconfig (renamed from recipes-bsp/formfactor/formfactor/mx7/machconfig)0
-rw-r--r--recipes-bsp/formfactor/formfactor/mx7ulp-nxp-bsp/machconfig (renamed from recipes-bsp/formfactor/formfactor/mx7ulp/machconfig)0
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.4.bb2
-rw-r--r--recipes-bsp/imx-kobs/imx-kobs_git.bb2
-rw-r--r--recipes-bsp/imx-lib/imx-lib_git.bb22
-rw-r--r--recipes-bsp/imx-mkimage/imx-boot_1.0.bb20
-rw-r--r--recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb10
-rw-r--r--recipes-bsp/imx-seco/imx-seco-libs_git.bb2
-rw-r--r--recipes-bsp/imx-seco/imx-seco_3.8.4.bb2
-rw-r--r--recipes-bsp/imx-test/imx-test_00.00.00.bb2
-rw-r--r--recipes-bsp/imx-test/imx-test_git.bb24
-rw-r--r--recipes-bsp/imx-uuc/imx-uuc_git.bb2
-rw-r--r--recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb2
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb10
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb8
-rw-r--r--recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb2
-rw-r--r--recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb2
-rw-r--r--recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb2
-rw-r--r--recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb8
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc-mxsboot_2022.01.bb2
-rw-r--r--recipes-bsp/u-boot/u-boot-fslc_2022.01.bb4
-rw-r--r--recipes-bsp/u-boot/u-boot-imx-mfgtool_2021.04.bb4
-rw-r--r--recipes-bsp/u-boot/u-boot-imx_2021.04.bb12
-rw-r--r--recipes-devtools/uuu/uuu_git.bb2
-rw-r--r--recipes-extended/dpdk/dpdk.inc2
-rw-r--r--recipes-extended/jailhouse/jailhouse_0.12.bb2
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-isp.bb2
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb2
-rw-r--r--recipes-graphics/drm/libdrm_2.4.107.imx.bb2
-rw-r--r--recipes-graphics/images/core-image-weston.bbappend2
-rw-r--r--recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb6
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc43
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch32.bb2
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch64.bb2
-rw-r--r--recipes-graphics/waffle/waffle_%.bbappend4
-rw-r--r--recipes-graphics/wayland/weston-init.bbappend12
-rw-r--r--recipes-graphics/wayland/weston-init/imx-nxp-bsp/weston.ini (renamed from recipes-graphics/wayland/weston-init/imx/weston.ini)0
-rwxr-xr-xrecipes-graphics/wayland/weston-init/mx6sl-nxp-bsp/weston.config (renamed from recipes-graphics/wayland/weston-init/mx6sl/weston.config)0
-rw-r--r--recipes-graphics/xinput-calibrator/pointercal-xinput/mx6-nxp-bsp/pointercal.xinput (renamed from recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput)0
-rw-r--r--recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb2
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx5-generic-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sl-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sl/xorg.conf)0
-rwxr-xr-xrecipes-graphics/xorg-xserver/xserver-xf86-config/mx6sll-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sll/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sx-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sx/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ul-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ul/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ull-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ull/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mx7-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx7/xorg.conf)0
-rwxr-xr-xrecipes-graphics/xorg-xserver/xserver-xf86-config/mx7ulp-nxp-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mx7ulp/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config/mxs-generic-bsp/xorg.conf (renamed from recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf)0
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend4
-rw-r--r--recipes-graphics/xwayland/xwayland_%.bbappend4
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4+fslc.bb2
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4.bb2
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.16.0.bb2
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/imx-nxp-bsp/defconfig (renamed from recipes-kernel/linux/linux-fslc-imx/imx/defconfig)0
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/mx8-nxp-bsp/defconfig (renamed from recipes-kernel/linux/linux-fslc-imx/mx8/defconfig)0
-rw-r--r--recipes-kernel/linux/linux-fslc-imx_5.10.bb2
-rw-r--r--recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig (renamed from recipes-kernel/linux/linux-fslc-lts/mxs/defconfig)0
-rw-r--r--recipes-kernel/linux/linux-fslc-lts_5.10.bb2
-rw-r--r--recipes-kernel/linux/linux-fslc/mxs-generic-bsp/defconfig (renamed from recipes-kernel/linux/linux-fslc/mxs/defconfig)0
-rw-r--r--recipes-kernel/linux/linux-fslc_5.15.bb2
-rw-r--r--recipes-kernel/linux/linux-imx/imx-nxp-bsp/defconfig (renamed from recipes-kernel/linux/linux-imx/imx/defconfig)0
-rw-r--r--recipes-kernel/linux/linux-imx/mx8-nxp-bsp/defconfig (renamed from recipes-kernel/linux/linux-imx/mx8/defconfig)0
-rw-r--r--recipes-kernel/linux/linux-imx_5.10.bb2
-rw-r--r--recipes-multimedia/alsa/alsa-lib_%.bbappend4
-rw-r--r--recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb8
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb6
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb2
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb2
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb30
-rw-r--r--recipes-multimedia/imx-codec/imx-codec_4.6.2.bb2
-rw-r--r--recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb2
-rw-r--r--recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb6
-rw-r--r--recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb2
-rw-r--r--recipes-multimedia/imx-parser/imx-parser_4.6.2.bb2
-rw-r--r--recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb2
-rw-r--r--recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb2
-rw-r--r--recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb8
-rw-r--r--recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb2
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/daemon.conf (renamed from recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf)0
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/default.pa (renamed from recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa)0
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch (renamed from recipes-multimedia/pulseaudio/pulseaudio/imx/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch)0
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio_%.bbappend16
-rw-r--r--recipes-security/optee-imx/optee-client_3.10.0.imx.bb2
-rw-r--r--recipes-security/optee-imx/optee-os_3.10.0.imx.bb18
-rw-r--r--recipes-security/optee-imx/optee-test_3.10.0.imx.bb2
-rw-r--r--recipes-support/opencv/opencv_4.5.2.imx.bb12
110 files changed, 402 insertions, 365 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index cdd16a66..cdfbb97e 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -37,7 +37,7 @@ do_image_wic[depends] += " \
37" 37"
38 38
39# We need to apply a fixup inside of the partition table 39# We need to apply a fixup inside of the partition table
40IMAGE_CMD:wic:append:mxs() { 40IMAGE_CMD:wic:append:mxs-generic-bsp() {
41 # Change partition type for mxs processor family 41 # Change partition type for mxs processor family
42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family." 42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family."
43 echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc 43 echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index 1d4c5513..deae9c93 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -13,7 +13,7 @@ FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs"
13FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs" 13FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs"
14 14
15IMAGE_FSTYPES = "cpio.gz.u-boot" 15IMAGE_FSTYPES = "cpio.gz.u-boot"
16IMAGE_FSTYPES:mxs = "cpio.gz.u-boot" 16IMAGE_FSTYPES:mxs-generic-bsp = "cpio.gz.u-boot"
17IMAGE_ROOTFS_SIZE ?= "8192" 17IMAGE_ROOTFS_SIZE ?= "8192"
18 18
19# Filesystems enabled by default 19# Filesystems enabled by default
diff --git a/classes/use-imx-headers.bbclass b/classes/use-imx-headers.bbclass
index c6c7f043..4baf4574 100644
--- a/classes/use-imx-headers.bbclass
+++ b/classes/use-imx-headers.bbclass
@@ -13,14 +13,14 @@
13# 13#
14# Copyright 2018 (C) O.S. Systems Software LTDA. 14# Copyright 2018 (C) O.S. Systems Software LTDA.
15 15
16DEPENDS:append:imx = " linux-imx-headers" 16DEPENDS:append:imx-nxp-bsp = " linux-imx-headers"
17 17
18# Set runtime dependency of -dev for package inheriting this class to 18# Set runtime dependency of -dev for package inheriting this class to
19# linux-imx-headers-dev package. This is required in order to propagate 19# linux-imx-headers-dev package. This is required in order to propagate
20# headers into the SDK 20# headers into the SDK
21RDEPENDS:${PN}-dev += "linux-imx-headers-dev" 21RDEPENDS:${PN}-dev += "linux-imx-headers-dev"
22 22
23PACKAGE_ARCH:imx ?= "${MACHINE_SOCARCH}" 23PACKAGE_ARCH:imx-nxp-bsp ?= "${MACHINE_SOCARCH}"
24 24
25STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx" 25STAGING_INCDIR_IMX = "${STAGING_INCDIR}/imx"
26 26
diff --git a/classes/use-imx-security-controller-firmware.bbclass b/classes/use-imx-security-controller-firmware.bbclass
index 9650059b..bdbf3684 100644
--- a/classes/use-imx-security-controller-firmware.bbclass
+++ b/classes/use-imx-security-controller-firmware.bbclass
@@ -18,14 +18,14 @@
18 18
19SECO_FIRMWARE_NAME ?= "" 19SECO_FIRMWARE_NAME ?= ""
20 20
21SECO_FIRMWARE_NAME:mx8qm = "mx8qmb0-ahab-container.img" 21SECO_FIRMWARE_NAME:mx8qm-nxp-bsp = "mx8qmb0-ahab-container.img"
22SECO_FIRMWARE_NAME:mx8qxp = \ 22SECO_FIRMWARE_NAME:mx8qxp-nxp-bsp = \
23 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'mx8qxb0-ahab-container.img', \ 23 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', 'mx8qxb0-ahab-container.img', \
24 'mx8qxc0-ahab-container.img', d)}" 24 'mx8qxc0-ahab-container.img', d)}"
25SECO_FIRMWARE_NAME:mx8dxl = "mx8dxla1-ahab-container.img" 25SECO_FIRMWARE_NAME:mx8dxl-nxp-bsp = "mx8dxla1-ahab-container.img"
26 26
27python () { 27python () {
28 if "mx8m" in d.getVar('MACHINEOVERRIDES').split(":"): 28 if "mx8m-nxp-bsp" in d.getVar('MACHINEOVERRIDES').split(":"):
29 return # We need to allow the recipes to be parsed for this case 29 return # We need to allow the recipes to be parsed for this case
30 30
31 seco_firmware = d.getVar('SECO_FIRMWARE_NAME') 31 seco_firmware = d.getVar('SECO_FIRMWARE_NAME')
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 6136713d..d49560e9 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -75,20 +75,20 @@ PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}"
75 75
76PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" 76PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"
77 77
78UBOOT_ENTRYPOINT:mxs = "0x40008000" 78UBOOT_ENTRYPOINT:mxs-generic-bsp = "0x40008000"
79UBOOT_ENTRYPOINT:mx51 = "0x90008000" 79UBOOT_ENTRYPOINT:mx51-generic-bsp = "0x90008000"
80UBOOT_ENTRYPOINT:mx53 = "0x70008000" 80UBOOT_ENTRYPOINT:mx53-generic-bsp = "0x70008000"
81UBOOT_ENTRYPOINT:mx6 = "0x10008000" 81UBOOT_ENTRYPOINT:mx6-generic-bsp = "0x10008000"
82UBOOT_ENTRYPOINT:mx6sl = "0x80008000" 82UBOOT_ENTRYPOINT:mx6sl-generic-bsp = "0x80008000"
83UBOOT_ENTRYPOINT:mx6sll = "0x80008000" 83UBOOT_ENTRYPOINT:mx6sll-generic-bsp = "0x80008000"
84UBOOT_ENTRYPOINT:mx6sx = "0x80008000" 84UBOOT_ENTRYPOINT:mx6sx-generic-bsp = "0x80008000"
85UBOOT_ENTRYPOINT:mx6ul = "0x80008000" 85UBOOT_ENTRYPOINT:mx6ul-generic-bsp = "0x80008000"
86UBOOT_ENTRYPOINT:mx6ull = "0x80008000" 86UBOOT_ENTRYPOINT:mx6ull-generic-bsp = "0x80008000"
87UBOOT_ENTRYPOINT:mx6ulz = "0x80008000" 87UBOOT_ENTRYPOINT:mx6ulz-generic-bsp = "0x80008000"
88UBOOT_ENTRYPOINT:mx7 = "0x80008000" 88UBOOT_ENTRYPOINT:mx7-generic-bsp = "0x80008000"
89UBOOT_ENTRYPOINT:mx7ulp = "0x60008000" 89UBOOT_ENTRYPOINT:mx7ulp-generic-bsp = "0x60008000"
90UBOOT_ENTRYPOINT:mx8m = "0x40480000" 90UBOOT_ENTRYPOINT:mx8m-generic-bsp = "0x40480000"
91UBOOT_ENTRYPOINT:vf = "0x80008000" 91UBOOT_ENTRYPOINT:vf-generic-bsp = "0x80008000"
92 92
93# Some derivates can utilize the boot container provided by U-Boot, 93# Some derivates can utilize the boot container provided by U-Boot,
94# below variable sets that those machines which have a imx-boot-container 94# below variable sets that those machines which have a imx-boot-container
@@ -96,11 +96,11 @@ UBOOT_ENTRYPOINT:vf = "0x80008000"
96UBOOT_PROVIDES_BOOT_CONTAINER = "0" 96UBOOT_PROVIDES_BOOT_CONTAINER = "0"
97UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1" 97UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1"
98 98
99PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" 99PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
100XSERVER_DRIVER = "xf86-video-fbdev" 100XSERVER_DRIVER = "xf86-video-fbdev"
101XSERVER_DRIVER:imxgpu2d = "xf86-video-imx-vivante" 101XSERVER_DRIVER:imxgpu2d = "xf86-video-imx-vivante"
102XSERVER_DRIVER:vf = "xf86-video-modesetting" 102XSERVER_DRIVER:vf-generic-bsp = "xf86-video-modesetting"
103XSERVER_DRIVER:append:mx8 = " xf86-video-modesetting" 103XSERVER_DRIVER:append:mx8-generic-bsp = " xf86-video-modesetting"
104XSERVER_DRIVER:use-mainline-bsp = " \ 104XSERVER_DRIVER:use-mainline-bsp = " \
105 xf86-video-fbdev \ 105 xf86-video-fbdev \
106 xf86-video-modesetting \ 106 xf86-video-modesetting \
@@ -118,42 +118,87 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
118# ARM_INSTRUCTION_SET = "thumb" 118# ARM_INSTRUCTION_SET = "thumb"
119# 119#
120# handled by software 120# handled by software
121# DEFAULTTUNE:mx6 ?= "cortexa9t-neon" 121# DEFAULTTUNE:mx6-generic-bsp ?= "cortexa9t-neon"
122# handled by hardware 122# handled by hardware
123DEFAULTTUNE:mx6 ?= "cortexa9thf-neon" 123DEFAULTTUNE:mx6-generic-bsp ?= "cortexa9thf-neon"
124DEFAULTTUNE:mx6ul ?= "cortexa7thf-neon" 124DEFAULTTUNE:mx6ul-generic-bsp ?= "cortexa7thf-neon"
125DEFAULTTUNE:mx6ull ?= "cortexa7thf-neon" 125DEFAULTTUNE:mx6ull-generic-bsp ?= "cortexa7thf-neon"
126DEFAULTTUNE:mx6ulz ?= "cortexa7thf-neon" 126DEFAULTTUNE:mx6ulz-generic-bsp ?= "cortexa7thf-neon"
127DEFAULTTUNE:mx7 ?= "cortexa7thf-neon" 127DEFAULTTUNE:mx7-generic-bsp ?= "cortexa7thf-neon"
128DEFAULTTUNE:vf ?= "cortexa5thf-neon" 128DEFAULTTUNE:vf-generic-bsp ?= "cortexa5thf-neon"
129 129
130DEFAULTTUNE:mx8m ?= "cortexa53-crypto" 130DEFAULTTUNE:mx8m-generic-bsp ?= "cortexa53-crypto"
131DEFAULTTUNE:mx8qm ?= "cortexa72-cortexa53-crypto" 131DEFAULTTUNE:mx8qm-generic-bsp ?= "cortexa72-cortexa53-crypto"
132DEFAULTTUNE:mx8qxp ?= "cortexa35-crypto" 132DEFAULTTUNE:mx8qxp-generic-bsp ?= "cortexa35-crypto"
133 133
134INHERIT += "machine-overrides-extender" 134INHERIT += "machine-overrides-extender"
135 135
136MACHINEOVERRIDES_EXTENDER:mx6q = "imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 136#######
137MACHINEOVERRIDES_EXTENDER:mx6dl = "imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc" 137### NXP BSP specific overrides
138MACHINEOVERRIDES_EXTENDER:mx6sx = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 138#######
139MACHINEOVERRIDES_EXTENDER:mx6sl = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc" 139
140MACHINEOVERRIDES_EXTENDER:mx6sll = "imxfbdev:imxpxp:imxepdc" 140MACHINEOVERRIDES_EXTENDER:mx6q:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6q-generic-bsp:mx6q-nxp-bsp:imxfbdev:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
141MACHINEOVERRIDES_EXTENDER:mx6ul = "imxfbdev:imxpxp" 141MACHINEOVERRIDES_EXTENDER:mx6dl:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6dl-generic-bsp:mx6dl-nxp-bsp:imxfbdev:imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc"
142MACHINEOVERRIDES_EXTENDER:mx6ull = "imxfbdev:imxpxp:imxepdc" 142
143MACHINEOVERRIDES_EXTENDER:mx6ulz = "imxfbdev:imxpxp:imxepdc" 143MACHINEOVERRIDES_EXTENDER:mx6sx:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6sx-generic-bsp:mx6sx-nxp-bsp:imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
144MACHINEOVERRIDES_EXTENDER:mx7d = "imxfbdev:imxpxp:imxepdc" 144
145MACHINEOVERRIDES_EXTENDER:mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d" 145MACHINEOVERRIDES_EXTENDER:mx6sl:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6sl-generic-bsp:mx6sl-nxp-bsp:imxfbdev:imxpxp:imxgpu:imxgpu2d:imxepdc"
146MACHINEOVERRIDES_EXTENDER:mx8qm = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 146MACHINEOVERRIDES_EXTENDER:mx6sll:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6sl-generic-bsp:mx6sl-nxp-bsp:mx6sll-generic-bsp:mx6sll-nxp-bsp:imxfbdev:imxpxp:imxepdc"
147MACHINEOVERRIDES_EXTENDER:mx8mm = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 147
148MACHINEOVERRIDES_EXTENDER:mx8mn = "imxdrm:imxgpu:imxgpu3d" 148MACHINEOVERRIDES_EXTENDER:mx6ul:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6ul-generic-bsp:mx6ul-nxp-bsp:imxfbdev:imxpxp"
149MACHINEOVERRIDES_EXTENDER:mx8mp = "imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d" 149MACHINEOVERRIDES_EXTENDER:mx6ull:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6ul-generic-bsp:mx6ul-nxp-bsp:mx6ull-generic-bsp:mx6ull-nxp-bsp:imxfbdev:imxpxp:imxepdc"
150MACHINEOVERRIDES_EXTENDER:mx8mq = "imxdrm:imxvpu:imxgpu:imxgpu3d" 150MACHINEOVERRIDES_EXTENDER:mx6ulz:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx6-generic-bsp:mx6-nxp-bsp:mx6ul-generic-bsp:mx6ul-nxp-bsp:mx6ull-generic-bsp:mx6ull-nxp-bsp:mx6ulz-generic-bsp:mx6ulz-nxp-bsp:imxfbdev:imxpxp:imxepdc"
151MACHINEOVERRIDES_EXTENDER:mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d" 151
152MACHINEOVERRIDES_EXTENDER:mx8dxl = "imxfbdev" 152MACHINEOVERRIDES_EXTENDER:mx7d:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx7-generic-bsp:mx7-nxp-bsp:mx7d-generic-bsp:mx7d-nxp-bsp:imxfbdev:imxpxp:imxepdc"
153 153MACHINEOVERRIDES_EXTENDER:mx7ulp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx7-generic-bsp:mx7-nxp-bsp:mx7ulp-generic-bsp:mx7ulp-nxp-bsp:imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
154MACHINEOVERRIDES_EXTENDER_FILTER_OUT:use-mainline-bsp = " \ 154
155 imx \ 155MACHINEOVERRIDES_EXTENDER:mx8qm:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8qm-generic-bsp:mx8qm-nxp-bsp:imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
156 \ 156
157MACHINEOVERRIDES_EXTENDER:mx8mm:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8m-generic-bsp:mx8m-nxp-bsp:mx8mm-generic-bsp:mx8mm-nxp-bsp:imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
158MACHINEOVERRIDES_EXTENDER:mx8mn:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8m-generic-bsp:mx8m-nxp-bsp:mx8mn-generic-bsp:mx8mn-nxp-bsp:imxdrm:imxgpu:imxgpu3d"
159MACHINEOVERRIDES_EXTENDER:mx8mp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8m-generic-bsp:mx8m-nxp-bsp:mx8mp-generic-bsp:mx8mp-nxp-bsp:imxdrm:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
160MACHINEOVERRIDES_EXTENDER:mx8mq:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8m-generic-bsp:mx8m-nxp-bsp:mx8mq-generic-bsp:mx8mq-nxp-bsp:imxdrm:imxvpu:imxgpu:imxgpu3d"
161
162MACHINEOVERRIDES_EXTENDER:mx8qxp:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8qxp-generic-bsp:mx8qxp-nxp-bsp:imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
163MACHINEOVERRIDES_EXTENDER:mx8dxl:use-nxp-bsp = "imx-generic-bsp:imx-nxp-bsp:mx8-generic-bsp:mx8-nxp-bsp:mx8dxl-generic-bsp:mx8dxl-nxp-bsp:imxfbdev"
164
165#######
166### Mainline BSP specific overrides
167#######
168
169MACHINEOVERRIDES_EXTENDER:mx27:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx27-generic-bsp:mx27-mainline-bsp"
170
171MACHINEOVERRIDES_EXTENDER:mx28:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mxs-generic-bsp:mxs-mainline-bsp:mx28-generic-bsp:mx28-mainline-bsp"
172
173MACHINEOVERRIDES_EXTENDER:mx51:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx5-generic-bsp:mx5-mainline-bsp:mx51-generic-bsp:mx51-mainline-bsp"
174MACHINEOVERRIDES_EXTENDER:mx53:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx5-generic-bsp:mx5-mainline-bsp:mx53-generic-bsp:mx53-mainline-bsp"
175
176MACHINEOVERRIDES_EXTENDER:mx6q:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6q-generic-bsp:mx6q-mainline-bsp"
177MACHINEOVERRIDES_EXTENDER:mx6dl:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6dl-generic-bsp:mx6dl-mainline-bsp"
178
179MACHINEOVERRIDES_EXTENDER:mx6sx:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6sx-generic-bsp:mx6sx-mainline-bsp"
180
181MACHINEOVERRIDES_EXTENDER:mx6sl:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6sl-generic-bsp:mx6sl-mainline-bsp"
182MACHINEOVERRIDES_EXTENDER:mx6sll:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6sll-generic-bsp:mx6sll-mainline-bsp"
183
184MACHINEOVERRIDES_EXTENDER:mx6ul:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6ul-generic-bsp:mx6ul-mainline-bsp"
185MACHINEOVERRIDES_EXTENDER:mx6ull:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6ul-generic-bsp:mx6ul-mainline-bsp:mx6ull-generic-bsp:mx6ull-mainline-bsp"
186MACHINEOVERRIDES_EXTENDER:mx6ulz:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx6-generic-bsp:mx6-mainline-bsp:mx6ul-generic-bsp:mx6ul-mainline-bsp:mx6ull-generic-bsp:mx6ull-mainline-bsp:mx6ulz-generic-bsp:mx6ulz-mainline-bsp"
187
188MACHINEOVERRIDES_EXTENDER:mx7d:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx7-generic-bsp:mx7-mainline-bsp:mx7d-generic-bsp:mx7d-mainline-bsp"
189MACHINEOVERRIDES_EXTENDER:mx7ulp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx7-generic-bsp:mx7-mainline-bsp:mx7ulp-generic-bsp:mx7ulp-mainline-bsp"
190
191MACHINEOVERRIDES_EXTENDER:mx8qm:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8qm-generic-bsp:mx8qm-mainline-bsp"
192
193MACHINEOVERRIDES_EXTENDER:mx8mm:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8m-generic-bsp:mx8m-mainline-bsp:mx8mm-generic-bsp:mx8mm-mainline-bsp"
194MACHINEOVERRIDES_EXTENDER:mx8mn:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8m-generic-bsp:mx8m-mainline-bsp:mx8mn-generic-bsp:mx8mn-mainline-bsp"
195MACHINEOVERRIDES_EXTENDER:mx8mp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8m-generic-bsp:mx8m-mainline-bsp:mx8mp-generic-bsp:mx8mp-mainline-bsp"
196MACHINEOVERRIDES_EXTENDER:mx8mq:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8m-generic-bsp:mx8m-mainline-bsp:mx8mq-generic-bsp:mx8mq-mainline-bsp"
197
198MACHINEOVERRIDES_EXTENDER:mx8qxp:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8qxp-generic-bsp:mx8qxp-mainline-bsp"
199MACHINEOVERRIDES_EXTENDER:mx8dxl:use-mainline-bsp = "imx-generic-bsp:imx-mainline-bsp:mx8-generic-bsp:mx8-mainline-bsp:mx8dxl-generic-bsp:mx8dxl-mainline-bsp"
200
201MACHINEOVERRIDES_EXTENDER_FILTER_OUT = " \
157 mx6 \ 202 mx6 \
158 mx6q \ 203 mx6q \
159 mx6dl \ 204 mx6dl \
@@ -181,29 +226,29 @@ MACHINEOVERRIDES_EXTENDER_FILTER_OUT:use-mainline-bsp = " \
181 226
182# Sub-architecture support 227# Sub-architecture support
183MACHINE_SOCARCH_SUFFIX ?= "" 228MACHINE_SOCARCH_SUFFIX ?= ""
184MACHINE_SOCARCH_SUFFIX:mx6q = "-mx6qdl" 229MACHINE_SOCARCH_SUFFIX:mx6q-nxp-bsp = "-mx6qdl"
185MACHINE_SOCARCH_SUFFIX:mx6dl = "-mx6qdl" 230MACHINE_SOCARCH_SUFFIX:mx6dl-nxp-bsp = "-mx6qdl"
186MACHINE_SOCARCH_SUFFIX:mx6sx = "-mx6sx" 231MACHINE_SOCARCH_SUFFIX:mx6sx-nxp-bsp = "-mx6sx"
187MACHINE_SOCARCH_SUFFIX:mx6sl = "-mx6sl" 232MACHINE_SOCARCH_SUFFIX:mx6sl-nxp-bsp = "-mx6sl"
188MACHINE_SOCARCH_SUFFIX:mx6sll= "-mx6sll" 233MACHINE_SOCARCH_SUFFIX:mx6sll-nxp-bsp= "-mx6sll"
189MACHINE_SOCARCH_SUFFIX:mx7d = "-mx7d" 234MACHINE_SOCARCH_SUFFIX:mx7d-nxp-bsp = "-mx7d"
190MACHINE_SOCARCH_SUFFIX:mx7ulp = "-mx7ulp" 235MACHINE_SOCARCH_SUFFIX:mx7ulp-nxp-bsp = "-mx7ulp"
191MACHINE_SOCARCH_SUFFIX:vf60 = "-vf60" 236MACHINE_SOCARCH_SUFFIX:vf60-nxp-bsp = "-vf60"
192MACHINE_SOCARCH_SUFFIX:vf50 = "-vf50" 237MACHINE_SOCARCH_SUFFIX:vf50-nxp-bsp = "-vf50"
193MACHINE_SOCARCH_SUFFIX:mx6ul = "-mx6ul" 238MACHINE_SOCARCH_SUFFIX:mx6ul-nxp-bsp = "-mx6ul"
194MACHINE_SOCARCH_SUFFIX:mx6ull = "-mx6ul" 239MACHINE_SOCARCH_SUFFIX:mx6ull-nxp-bsp = "-mx6ul"
195MACHINE_SOCARCH_SUFFIX:mx6ulz = "-mx6ul" 240MACHINE_SOCARCH_SUFFIX:mx6ulz-nxp-bsp = "-mx6ul"
196MACHINE_SOCARCH_SUFFIX:mx8qm = "-mx8" 241MACHINE_SOCARCH_SUFFIX:mx8qm-nxp-bsp = "-mx8"
197MACHINE_SOCARCH_SUFFIX:mx8mm = "-mx8mm" 242MACHINE_SOCARCH_SUFFIX:mx8mm-nxp-bsp = "-mx8mm"
198MACHINE_SOCARCH_SUFFIX:mx8mn = "-mx8mn" 243MACHINE_SOCARCH_SUFFIX:mx8mn-nxp-bsp = "-mx8mn"
199MACHINE_SOCARCH_SUFFIX:mx8mp = "-mx8mp" 244MACHINE_SOCARCH_SUFFIX:mx8mp-nxp-bsp = "-mx8mp"
200MACHINE_SOCARCH_SUFFIX:mx8mq = "-mx8m" 245MACHINE_SOCARCH_SUFFIX:mx8mq-nxp-bsp = "-mx8m"
201MACHINE_SOCARCH_SUFFIX:mx8qxp = "-mx8" 246MACHINE_SOCARCH_SUFFIX:mx8qxp-nxp-bsp = "-mx8"
202MACHINE_SOCARCH_SUFFIX:mx8dxl = "-mx8dxl" 247MACHINE_SOCARCH_SUFFIX:mx8dxl-nxp-bsp = "-mx8dxl"
203MACHINE_SOCARCH_SUFFIX:use-mainline-bsp = "-imx" 248MACHINE_SOCARCH_SUFFIX:use-mainline-bsp = "-imx"
204 249
205MACHINE_ARCH_FILTER = "virtual/kernel" 250MACHINE_ARCH_FILTER = "virtual/kernel"
206MACHINE_SOCARCH_FILTER:append:imx = " \ 251MACHINE_SOCARCH_FILTER:append:use-nxp-bsp = " \
207 alsa-lib \ 252 alsa-lib \
208 gstreamer1.0 \ 253 gstreamer1.0 \
209 weston \ 254 weston \
@@ -244,17 +289,17 @@ MACHINE_SOCARCH_FILTER:append:use-mainline-bsp = " \
244 pango \ 289 pango \
245 qtbase \ 290 qtbase \
246" 291"
247MACHINE_SOCARCH_FILTER:append:mx6q = " \ 292MACHINE_SOCARCH_FILTER:append:mx6q-nxp-bsp = " \
248 opencl-icd-loader \ 293 opencl-icd-loader \
249 opencl-clhpp \ 294 opencl-clhpp \
250 opencl-headers \ 295 opencl-headers \
251" 296"
252MACHINE_SOCARCH_FILTER:append:mx8 = " \ 297MACHINE_SOCARCH_FILTER:append:mx8-nxp-bsp = " \
253 opencl-icd-loader \ 298 opencl-icd-loader \
254 opencl-clhpp \ 299 opencl-clhpp \
255 opencl-headers \ 300 opencl-headers \
256" 301"
257MACHINE_SOCARCH_FILTER:append:mx8qm = " \ 302MACHINE_SOCARCH_FILTER:append:mx8qm-nxp-bsp = " \
258 virtual/libopenvx \ 303 virtual/libopenvx \
259" 304"
260 305
@@ -270,32 +315,32 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \
270 315
271# Firmware 316# Firmware
272MACHINE_FIRMWARE ?= "" 317MACHINE_FIRMWARE ?= ""
273MACHINE_FIRMWARE:append:mx27 = " firmware-imx-vpu-imx27" 318MACHINE_FIRMWARE:append:mx27-generic-bsp = " firmware-imx-vpu-imx27"
274MACHINE_FIRMWARE:append:mx7d = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc" 319MACHINE_FIRMWARE:append:mx7d-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-epdc"
275MACHINE_FIRMWARE:append:mx6 = " linux-firmware-imx-sdma-imx6q" 320MACHINE_FIRMWARE:append:mx6-generic-bsp = " linux-firmware-imx-sdma-imx6q"
276MACHINE_FIRMWARE:append:mx6q = " firmware-imx-vpu-imx6q" 321MACHINE_FIRMWARE:append:mx6q-generic-bsp = " firmware-imx-vpu-imx6q"
277MACHINE_FIRMWARE:append:mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc" 322MACHINE_FIRMWARE:append:mx6dl-generic-bsp = " firmware-imx-vpu-imx6d firmware-imx-epdc"
278MACHINE_FIRMWARE:append:mx6sl = " firmware-imx-epdc" 323MACHINE_FIRMWARE:append:mx6sl-generic-bsp = " firmware-imx-epdc"
279MACHINE_FIRMWARE:append:mx6sll = " firmware-imx-epdc" 324MACHINE_FIRMWARE:append:mx6sll-generic-bsp = " firmware-imx-epdc"
280MACHINE_FIRMWARE:append:mx6ull = " firmware-imx-epdc" 325MACHINE_FIRMWARE:append:mx6ull-generic-bsp = " firmware-imx-epdc"
281MACHINE_FIRMWARE:append:mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" 326MACHINE_FIRMWARE:append:mx53-generic-bsp = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
282MACHINE_FIRMWARE:append:mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" 327MACHINE_FIRMWARE:append:mx51-generic-bsp = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
283MACHINE_FIRMWARE:append:mx8mm = " linux-firmware-imx-sdma-imx7d" 328MACHINE_FIRMWARE:append:mx8mm-generic-bsp = " linux-firmware-imx-sdma-imx7d"
284MACHINE_FIRMWARE:append:mx8mn = " linux-firmware-imx-sdma-imx7d" 329MACHINE_FIRMWARE:append:mx8mn-generic-bsp = " linux-firmware-imx-sdma-imx7d"
285MACHINE_FIRMWARE:append:mx8mp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx" 330MACHINE_FIRMWARE:append:mx8mp-generic-bsp = " linux-firmware-imx-sdma-imx7d firmware-imx-easrc-imx8mn firmware-imx-xcvr-imx8mp firmware-sof-imx"
286MACHINE_FIRMWARE:append:mx8mq = " linux-firmware-imx-sdma-imx7d" 331MACHINE_FIRMWARE:append:mx8mq-generic-bsp = " linux-firmware-imx-sdma-imx7d"
287MACHINE_FIRMWARE:append:mx8qm = " firmware-imx-vpu-imx8" 332MACHINE_FIRMWARE:append:mx8qm-generic-bsp = " firmware-imx-vpu-imx8"
288MACHINE_FIRMWARE:append:mx8qxp = " firmware-imx-vpu-imx8" 333MACHINE_FIRMWARE:append:mx8qxp-generic-bsp = " firmware-imx-vpu-imx8"
289MACHINE_FIRMWARE:append:use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d" 334MACHINE_FIRMWARE:append:use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux-firmware-imx-sdma-imx7d firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
290 335
291MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" 336MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
292 337
293# Extra audio support 338# Extra audio support
294IMX_ALSA_EXTRA = "" 339IMX_ALSA_EXTRA = ""
295IMX_ALSA_EXTRA:use-nxp-bsp = "imx-alsa-plugins" 340IMX_ALSA_EXTRA:use-nxp-bsp = "imx-alsa-plugins"
296MACHINE_EXTRA_RRECOMMENDS:append:mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 341MACHINE_EXTRA_RRECOMMENDS:append:mx6-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
297MACHINE_EXTRA_RRECOMMENDS:append:mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 342MACHINE_EXTRA_RRECOMMENDS:append:mx7-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
298MACHINE_EXTRA_RRECOMMENDS:append:mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}" 343MACHINE_EXTRA_RRECOMMENDS:append:mx8-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
299 344
300# Extra Cypress Wi-Fi and BTW firmware (Murata) 345# Extra Cypress Wi-Fi and BTW firmware (Murata)
301MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" 346MACHINE_FIRMWARE:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}"
@@ -320,28 +365,28 @@ MACHINE_EXTRA_RRECOMMENDS += " \
320" 365"
321 366
322# GStreamer 1.0 plugins 367# GStreamer 1.0 plugins
323MACHINE_GSTREAMER_1_0_PLUGIN ?= "" 368MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
324MACHINE_GSTREAMER_1_0_PLUGIN:mx6dl ?= "gstreamer1.0-plugins-imx-meta" 369MACHINE_GSTREAMER_1_0_PLUGIN:mx6dl-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
325MACHINE_GSTREAMER_1_0_PLUGIN:mx6q ?= "gstreamer1.0-plugins-imx-meta" 370MACHINE_GSTREAMER_1_0_PLUGIN:mx6q-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
326MACHINE_GSTREAMER_1_0_PLUGIN:mx6sl ?= "gstreamer1.0-plugins-imx-meta" 371MACHINE_GSTREAMER_1_0_PLUGIN:mx6sl-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
327MACHINE_GSTREAMER_1_0_PLUGIN:mx6sx ?= "gstreamer1.0-plugins-imx-meta" 372MACHINE_GSTREAMER_1_0_PLUGIN:mx6sx-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
328MACHINE_GSTREAMER_1_0_PLUGIN:mx6ul ?= "gstreamer1.0-plugins-imx-meta" 373MACHINE_GSTREAMER_1_0_PLUGIN:mx6ul-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
329MACHINE_GSTREAMER_1_0_PLUGIN:mx6ull ?= "gstreamer1.0-plugins-imx-meta" 374MACHINE_GSTREAMER_1_0_PLUGIN:mx6ull-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
330MACHINE_GSTREAMER_1_0_PLUGIN:mx7d ?= "gstreamer1.0-plugins-imx-meta" 375MACHINE_GSTREAMER_1_0_PLUGIN:mx7d-nxp-bsp ?= "gstreamer1.0-plugins-imx-meta"
331MACHINE_GSTREAMER_1_0_PLUGIN:mx8mm ?= "imx-gst1.0-plugin" 376MACHINE_GSTREAMER_1_0_PLUGIN:mx8mm-nxp-bsp ?= "imx-gst1.0-plugin"
332MACHINE_GSTREAMER_1_0_PLUGIN:mx8mn ?= "imx-gst1.0-plugin" 377MACHINE_GSTREAMER_1_0_PLUGIN:mx8mn-nxp-bsp ?= "imx-gst1.0-plugin"
333MACHINE_GSTREAMER_1_0_PLUGIN:mx8mp ?= "imx-gst1.0-plugin" 378MACHINE_GSTREAMER_1_0_PLUGIN:mx8mp-nxp-bsp ?= "imx-gst1.0-plugin"
334MACHINE_GSTREAMER_1_0_PLUGIN:mx8mq ?= "imx-gst1.0-plugin" 379MACHINE_GSTREAMER_1_0_PLUGIN:mx8mq-nxp-bsp ?= "imx-gst1.0-plugin"
335MACHINE_GSTREAMER_1_0_PLUGIN:mx8qm ?= "imx-gst1.0-plugin" 380MACHINE_GSTREAMER_1_0_PLUGIN:mx8qm-nxp-bsp ?= "imx-gst1.0-plugin"
336MACHINE_GSTREAMER_1_0_PLUGIN:mx8qxp ?= "imx-gst1.0-plugin" 381MACHINE_GSTREAMER_1_0_PLUGIN:mx8qxp-nxp-bsp ?= "imx-gst1.0-plugin"
337 382
338PREFERRED_VERSION_gstreamer1.0:mx8 ?= "1.18.0.imx" 383PREFERRED_VERSION_gstreamer1.0:mx8-nxp-bsp ?= "1.18.0.imx"
339PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8 ?= "1.18.0.imx" 384PREFERRED_VERSION_gstreamer1.0-plugins-base:mx8-nxp-bsp ?= "1.18.0.imx"
340PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8 ?= "1.18.0.imx" 385PREFERRED_VERSION_gstreamer1.0-plugins-good:mx8-nxp-bsp ?= "1.18.0.imx"
341PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8 ?= "1.18.0.imx" 386PREFERRED_VERSION_gstreamer1.0-plugins-bad:mx8-nxp-bsp ?= "1.18.0.imx"
342PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8 ?= "1.18.0" 387PREFERRED_VERSION_gstreamer1.0-plugins-ugly:mx8-nxp-bsp ?= "1.18.0"
343PREFERRED_VERSION_gstreamer1.0-libav:mx8 ?= "1.18.0" 388PREFERRED_VERSION_gstreamer1.0-libav:mx8-nxp-bsp ?= "1.18.0"
344PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8 ?= "1.18.0" 389PREFERRED_VERSION_gstreamer1.0-rtsp-server:mx8-nxp-bsp ?= "1.18.0"
345 390
346# Determines if the SoC has support for Vivante kernel driver 391# Determines if the SoC has support for Vivante kernel driver
347SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" 392SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"
@@ -368,43 +413,43 @@ PREFERRED_PROVIDER_opencl-clhpp:imxgpu ?= "imx-gpu-viv"
368PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv" 413PREFERRED_PROVIDER_opencl-headers:imxgpu ?= "imx-gpu-viv"
369PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv" 414PREFERRED_PROVIDER_opencl-icd-loader:imxgpu ?= "imx-gpu-viv"
370 415
371PREFERRED_VERSION_weston:imx ?= "9.0.0.imx" 416PREFERRED_VERSION_weston:use-nxp-bsp ?= "9.0.0.imx"
372PREFERRED_VERSION_weston:use-mainline-bsp = "" 417PREFERRED_VERSION_weston:use-mainline-bsp = ""
373 418
374PREFERRED_VERSION_wayland-protocols:mx6 ?= "1.22.imx" 419PREFERRED_VERSION_wayland-protocols:mx6-nxp-bsp ?= "1.22.imx"
375PREFERRED_VERSION_wayland-protocols:mx7 ?= "1.22.imx" 420PREFERRED_VERSION_wayland-protocols:mx7-nxp-bsp ?= "1.22.imx"
376PREFERRED_VERSION_wayland-protocols:mx8 ?= "1.22.imx" 421PREFERRED_VERSION_wayland-protocols:mx8-nxp-bsp ?= "1.22.imx"
377 422
378# Use i.MX libdrm Version 423# Use i.MX libdrm Version
379PREFERRED_VERSION_libdrm:mx6 ?= "2.4.107.imx" 424PREFERRED_VERSION_libdrm:mx6-nxp-bsp ?= "2.4.107.imx"
380PREFERRED_VERSION_libdrm:mx7 ?= "2.4.107.imx" 425PREFERRED_VERSION_libdrm:mx7-nxp-bsp ?= "2.4.107.imx"
381PREFERRED_VERSION_libdrm:mx8 ?= "2.4.107.imx" 426PREFERRED_VERSION_libdrm:mx8-nxp-bsp ?= "2.4.107.imx"
382 427
383# Use i.MX optee Version 428# Use i.MX optee Version
384PREFERRED_VERSION_optee-os:mx8 ?= "3.10.0.imx" 429PREFERRED_VERSION_optee-os:mx8-nxp-bsp ?= "3.10.0.imx"
385PREFERRED_VERSION_optee-client:mx8 ?= "3.10.0.imx" 430PREFERRED_VERSION_optee-client:mx8-nxp-bsp ?= "3.10.0.imx"
386PREFERRED_VERSION_optee-test:mx8 ?= "3.10.0.imx" 431PREFERRED_VERSION_optee-test:mx8-nxp-bsp ?= "3.10.0.imx"
387 432
388#Use i.MX opencv Version for mx8 433#Use i.MX opencv Version for mx8
389PREFERRED_VERSION_opencv:mx8 ?= "4.5.2.imx" 434PREFERRED_VERSION_opencv:mx8-nxp-bsp ?= "4.5.2.imx"
390 435
391# Handle default kernel 436# Handle default kernel
392IMX_DEFAULT_KERNEL = "linux-fslc-imx" 437IMX_DEFAULT_KERNEL = "linux-fslc-imx"
393IMX_DEFAULT_KERNEL:mxs = "linux-fslc" 438IMX_DEFAULT_KERNEL:mxs-generic-bsp = "linux-fslc"
394IMX_DEFAULT_KERNEL:mx5 = "linux-fslc" 439IMX_DEFAULT_KERNEL:mx5-generic-bsp = "linux-fslc"
395IMX_DEFAULT_KERNEL:mx6 = "linux-fslc-imx" 440IMX_DEFAULT_KERNEL:mx6-nxp-bsp = "linux-fslc-imx"
396IMX_DEFAULT_KERNEL:mx7 = "linux-fslc-imx" 441IMX_DEFAULT_KERNEL:mx7-nxp-bsp = "linux-fslc-imx"
397IMX_DEFAULT_KERNEL:mx8 = "linux-fslc-imx" 442IMX_DEFAULT_KERNEL:mx8-nxp-bsp = "linux-fslc-imx"
398IMX_DEFAULT_KERNEL:mx7ulp = "linux-fslc-imx" 443IMX_DEFAULT_KERNEL:mx7ulp-nxp-bsp = "linux-fslc-imx"
399IMX_DEFAULT_KERNEL:mx6sll = "linux-fslc-imx" 444IMX_DEFAULT_KERNEL:mx6sll-nxp-bsp = "linux-fslc-imx"
400IMX_DEFAULT_KERNEL:mx6ul = "linux-fslc-imx" 445IMX_DEFAULT_KERNEL:mx6ul-nxp-bsp = "linux-fslc-imx"
401IMX_DEFAULT_KERNEL:mx6ull = "linux-fslc-imx" 446IMX_DEFAULT_KERNEL:mx6ull-nxp-bsp = "linux-fslc-imx"
402IMX_DEFAULT_KERNEL:use-mainline-bsp = "linux-fslc" 447IMX_DEFAULT_KERNEL:use-mainline-bsp = "linux-fslc"
403 448
404PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" 449PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
405 450
406SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz" 451SOC_DEFAULT_IMAGE_FSTYPES = "wic.bmap wic.gz"
407SOC_DEFAULT_IMAGE_FSTYPES:mxs = "uboot-mxsboot-sdcard wic.bmap wic.gz" 452SOC_DEFAULT_IMAGE_FSTYPES:mxs-generic-bsp = "uboot-mxsboot-sdcard wic.bmap wic.gz"
408 453
409# Do not update fstab file when using wic images 454# Do not update fstab file when using wic images
410WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" 455WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
@@ -433,8 +478,8 @@ WKS_FILE_DEPENDS ?= " \
433 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \ 478 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
434" 479"
435 480
436WKS_FILE_DEPENDS:append:mx8 = " imx-boot" 481WKS_FILE_DEPENDS:append:mx8-nxp-bsp = " imx-boot"
437WKS_FILE_DEPENDS:append:mx8m = " imx-boot" 482WKS_FILE_DEPENDS:append:mx8m-nxp-bsp = " imx-boot"
438 483
439# We need to restrict the append so we don't add this for other i.MX SoC's. 484# We need to restrict the append so we don't add this for other i.MX SoC's.
440# Derivatives that are not yet adopted the usage of boot container provided 485# Derivatives that are not yet adopted the usage of boot container provided
@@ -453,10 +498,10 @@ WKS_FILE_DEPENDS:append:use-mainline-bsp:aarch64 = " \
453" 498"
454 499
455SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in" 500SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks.in"
456SOC_DEFAULT_WKS_FILE:mx8m ?= "imx-imx-boot-bootpart.wks.in" 501SOC_DEFAULT_WKS_FILE:mx8m-nxp-bsp ?= "imx-imx-boot-bootpart.wks.in"
457 502
458SOC_DEFAULT_WKS_FILE:mx8 ?= "imx-imx-boot-bootpart.wks.in" 503SOC_DEFAULT_WKS_FILE:mx8-nxp-bsp ?= "imx-imx-boot-bootpart.wks.in"
459SOC_DEFAULT_WKS_FILE:mxs ?= "imx-uboot-mxs-bootpart.wks.in" 504SOC_DEFAULT_WKS_FILE:mxs-generic-bsp ?= "imx-uboot-mxs-bootpart.wks.in"
460 505
461# Boot container built as a part of mainline U-Boot uses different WKS 506# Boot container built as a part of mainline U-Boot uses different WKS
462# file as the entire mx8m series, as U-Boot versions later than 2021.04 are 507# file as the entire mx8m series, as U-Boot versions later than 2021.04 are
@@ -471,14 +516,11 @@ SOC_DEFAULT_WKS_FILE:imx-boot-container ?= "imx-boot-container-bootpart.wks.in"
471WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" 516WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}"
472 517
473SERIAL_CONSOLES = "115200;ttymxc0" 518SERIAL_CONSOLES = "115200;ttymxc0"
474SERIAL_CONSOLES:mxs = "115200;ttyAMA0" 519SERIAL_CONSOLES:mxs-generic-bsp = "115200;ttyAMA0"
475 520
476KERNEL_IMAGETYPE = "zImage" 521KERNEL_IMAGETYPE = "zImage"
477KERNEL_IMAGETYPE:aarch64 = "Image" 522KERNEL_IMAGETYPE:aarch64 = "Image"
478 523
479MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen" 524MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
480 525
481# Add the ability to specify imx machines 526HOSTTOOLS_NONFATAL:append:mx8-nxp-bsp = " sha384sum"
482MACHINEOVERRIDES =. "imx:"
483
484HOSTTOOLS_NONFATAL:append:mx8 = " sha384sum"
diff --git a/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch b/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx-nxp-bsp/0016-xserver-common-enable-iglx-module.patch
index 283a081b..283a081b 100644
--- a/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch
+++ b/dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common/imx-nxp-bsp/0016-xserver-common-enable-iglx-module.patch
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6/g++.conf b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6-nxp-bsp/g++.conf
index 915ecba0..915ecba0 100644
--- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6/g++.conf
+++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6-nxp-bsp/g++.conf
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6/linux.conf b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6-nxp-bsp/linux.conf
index c644d8ba..c644d8ba 100644
--- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6/linux.conf
+++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/mx6-nxp-bsp/linux.conf
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend
index 94331307..4d766139 100644
--- a/recipes-bsp/alsa-state/alsa-state.bbappend
+++ b/recipes-bsp/alsa-state/alsa-state.bbappend
@@ -1,10 +1,10 @@
1# Append path for freescale layer to include alsa-state asound.conf 1# Append path for freescale layer to include alsa-state asound.conf
2FILESEXTRAPATHS:prepend:mx6 := "${THISDIR}/${PN}/imx:" 2FILESEXTRAPATHS:prepend:mx6-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp"
3FILESEXTRAPATHS:prepend:mx7 := "${THISDIR}/${PN}/imx:" 3FILESEXTRAPATHS:prepend:mx7-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp"
4FILESEXTRAPATHS:prepend:mx8 := "${THISDIR}/${PN}/imx:" 4FILESEXTRAPATHS:prepend:mx8-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp"
5FILESEXTRAPATHS:prepend:use-mainline-bsp := "${THISDIR}/${PN}/imx:" 5FILESEXTRAPATHS:prepend:use-mainline-bsp := "${THISDIR}/${PN}/imx-nxp-bsp"
6 6
7PACKAGE_ARCH:mx6 = "${MACHINE_ARCH}" 7PACKAGE_ARCH:mx6-nxp-bsp = "${MACHINE_ARCH}"
8PACKAGE_ARCH:mx7 = "${MACHINE_ARCH}" 8PACKAGE_ARCH:mx7-nxp-bsp = "${MACHINE_ARCH}"
9PACKAGE_ARCH:mx8 = "${MACHINE_ARCH}" 9PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_ARCH}"
10PACKAGE_ARCH:use-mainline-bsp = "${MACHINE_ARCH}" 10PACKAGE_ARCH:use-mainline-bsp = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf
index c511018e..c511018e 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf
diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.state b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.state
index ace734df..ace734df 100755
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.state
+++ b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.state
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8_8.14.bb b/recipes-bsp/firmware-imx/firmware-imx-8_8.14.bb
index 6ea16d5b..18ce14d3 100644
--- a/recipes-bsp/firmware-imx/firmware-imx-8_8.14.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx-8_8.14.bb
@@ -18,6 +18,6 @@ addtask deploy after do_install before do_build
18 18
19PACKAGE_ARCH = "${MACHINE_SOCARCH}" 19PACKAGE_ARCH = "${MACHINE_SOCARCH}"
20 20
21COMPATIBLE_MACHINE = "(mx8)" 21COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
22COMPATIBLE_MACHINE:mx8m = "(^$)" 22COMPATIBLE_MACHINE:mx8m-nxp-bsp = "(^$)"
23COMPATIBLE_MACHINE:mx8x = "(^$)" 23COMPATIBLE_MACHINE:mx8x-nxp-bsp = "(^$)"
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8m_8.14.bb b/recipes-bsp/firmware-imx/firmware-imx-8m_8.14.bb
index a48356ed..ab53fa22 100644
--- a/recipes-bsp/firmware-imx/firmware-imx-8m_8.14.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx-8m_8.14.bb
@@ -21,4 +21,4 @@ addtask deploy after do_install before do_build
21 21
22PACKAGE_ARCH = "${MACHINE_SOCARCH}" 22PACKAGE_ARCH = "${MACHINE_SOCARCH}"
23 23
24COMPATIBLE_MACHINE = "(mx8m|imx-boot-container)" 24COMPATIBLE_MACHINE = "(mx8m-nxp-bsp|imx-boot-container)"
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.14.bb b/recipes-bsp/firmware-imx/firmware-imx_8.14.bb
index 5628e40b..5186a1a8 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_8.14.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_8.14.bb
@@ -129,4 +129,4 @@ FILES:${PN}-hdmi = " \
129 ${nonarch_base_libdir}/firmware/dpfw.bin \ 129 ${nonarch_base_libdir}/firmware/dpfw.bin \
130" 130"
131 131
132COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" 132COMPATIBLE_MACHINE = "(imx-nxp-bsp|use-mainline-bsp)"
diff --git a/recipes-bsp/formfactor/formfactor/mx6/machconfig b/recipes-bsp/formfactor/formfactor/mx6-nxp-bsp/machconfig
index ded33a07..ded33a07 100644
--- a/recipes-bsp/formfactor/formfactor/mx6/machconfig
+++ b/recipes-bsp/formfactor/formfactor/mx6-nxp-bsp/machconfig
diff --git a/recipes-bsp/formfactor/formfactor/mx6sll/machconfig b/recipes-bsp/formfactor/formfactor/mx6sll-nxp-bsp/machconfig
index e3b99b7c..e3b99b7c 100644
--- a/recipes-bsp/formfactor/formfactor/mx6sll/machconfig
+++ b/recipes-bsp/formfactor/formfactor/mx6sll-nxp-bsp/machconfig
diff --git a/recipes-bsp/formfactor/formfactor/mx6ul/machconfig b/recipes-bsp/formfactor/formfactor/mx6ul-nxp-bsp/machconfig
index e3b99b7c..e3b99b7c 100644
--- a/recipes-bsp/formfactor/formfactor/mx6ul/machconfig
+++ b/recipes-bsp/formfactor/formfactor/mx6ul-nxp-bsp/machconfig
diff --git a/recipes-bsp/formfactor/formfactor/mx7/machconfig b/recipes-bsp/formfactor/formfactor/mx7-nxp-bsp/machconfig
index e3b99b7c..e3b99b7c 100644
--- a/recipes-bsp/formfactor/formfactor/mx7/machconfig
+++ b/recipes-bsp/formfactor/formfactor/mx7-nxp-bsp/machconfig
diff --git a/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig b/recipes-bsp/formfactor/formfactor/mx7ulp-nxp-bsp/machconfig
index 25b18f21..25b18f21 100644
--- a/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig
+++ b/recipes-bsp/formfactor/formfactor/mx7ulp-nxp-bsp/machconfig
diff --git a/recipes-bsp/imx-atf/imx-atf_2.4.bb b/recipes-bsp/imx-atf/imx-atf_2.4.bb
index eedcdc54..91a631c9 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.4.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.4.bb
@@ -67,4 +67,4 @@ do_deploy() {
67addtask deploy after do_compile 67addtask deploy after do_compile
68 68
69PACKAGE_ARCH = "${MACHINE_SOCARCH}" 69PACKAGE_ARCH = "${MACHINE_SOCARCH}"
70COMPATIBLE_MACHINE = "(mx8|imx-boot-container)" 70COMPATIBLE_MACHINE = "(mx8-nxp-bsp|imx-boot-container)"
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb
index 58bd44f8..a14c314e 100644
--- a/recipes-bsp/imx-kobs/imx-kobs_git.bb
+++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb
@@ -15,4 +15,4 @@ S = "${WORKDIR}/git"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig
17 17
18COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" 18COMPATIBLE_MACHINE = "(imx-nxp-bsp|use-mainline-bsp)"
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb
index 4e210057..2ecea3e5 100644
--- a/recipes-bsp/imx-lib/imx-lib_git.bb
+++ b/recipes-bsp/imx-lib/imx-lib_git.bb
@@ -21,16 +21,16 @@ S = "${WORKDIR}/git"
21 21
22inherit use-imx-headers 22inherit use-imx-headers
23 23
24PLATFORM:mx6q = "IMX6Q" 24PLATFORM:mx6q-nxp-bsp = "IMX6Q"
25PLATFORM:mx6dl = "IMX6Q" 25PLATFORM:mx6dl-nxp-bsp = "IMX6Q"
26PLATFORM:mx6sl = "IMX6S" 26PLATFORM:mx6sl-nxp-bsp = "IMX6S"
27PLATFORM:mx6sll = "IMX6UL" 27PLATFORM:mx6sll-nxp-bsp = "IMX6UL"
28PLATFORM:mx6sx = "IMX6S" 28PLATFORM:mx6sx-nxp-bsp = "IMX6S"
29PLATFORM:mx6ul = "IMX6UL" 29PLATFORM:mx6ul-nxp-bsp = "IMX6UL"
30PLATFORM:mx6ull = "IMX6UL" 30PLATFORM:mx6ull-nxp-bsp = "IMX6UL"
31PLATFORM:mx7d = "IMX7" 31PLATFORM:mx7d-nxp-bsp = "IMX7"
32PLATFORM:mx7ulp = "IMX7" 32PLATFORM:mx7ulp-nxp-bsp = "IMX7"
33PLATFORM:mx8ulp = "IMX8ULP" 33PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP"
34 34
35PARALLEL_MAKE="-j 1" 35PARALLEL_MAKE="-j 1"
36EXTRA_OEMAKE = "" 36EXTRA_OEMAKE = ""
@@ -47,4 +47,4 @@ do_install () {
47 find ${D}/ -name *.go -exec rm {} \; 47 find ${D}/ -name *.go -exec rm {} \;
48} 48}
49 49
50COMPATIBLE_MACHINE = "(mx6|mx7|mx8ulp)" 50COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8ulp-nxp-bsp)"
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
index b332e079..2b9d420b 100644
--- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
+++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
@@ -10,8 +10,8 @@ SECTION = "BSP"
10inherit use-imx-security-controller-firmware 10inherit use-imx-security-controller-firmware
11 11
12IMX_EXTRA_FIRMWARE = "firmware-imx-8 imx-sc-firmware imx-seco" 12IMX_EXTRA_FIRMWARE = "firmware-imx-8 imx-sc-firmware imx-seco"
13IMX_EXTRA_FIRMWARE:mx8m = "firmware-imx-8m" 13IMX_EXTRA_FIRMWARE:mx8m-nxp-bsp = "firmware-imx-8m"
14IMX_EXTRA_FIRMWARE:mx8x = "imx-sc-firmware imx-seco" 14IMX_EXTRA_FIRMWARE:mx8x-nxp-bsp = "imx-sc-firmware imx-seco"
15DEPENDS += " \ 15DEPENDS += " \
16 u-boot \ 16 u-boot \
17 ${IMX_EXTRA_FIRMWARE} \ 17 ${IMX_EXTRA_FIRMWARE} \
@@ -20,7 +20,7 @@ DEPENDS += " \
20" 20"
21# xxd is a dependency of fspi_packer.sh 21# xxd is a dependency of fspi_packer.sh
22DEPENDS += "xxd-native" 22DEPENDS += "xxd-native"
23DEPENDS:append:mx8m = " u-boot-mkimage-native dtc-native" 23DEPENDS:append:mx8m-nxp-bsp = " u-boot-mkimage-native dtc-native"
24BOOT_NAME = "imx-boot" 24BOOT_NAME = "imx-boot"
25PROVIDES = "${BOOT_NAME}" 25PROVIDES = "${BOOT_NAME}"
26 26
@@ -61,16 +61,16 @@ IMXBOOT_TARGETS ?= \
61 'flash_multi_cores flash_dcd', d), d)}" 61 'flash_multi_cores flash_dcd', d), d)}"
62 62
63BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" 63BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}"
64BOOT_STAGING:mx8m = "${S}/iMX8M" 64BOOT_STAGING:mx8m-nxp-bsp = "${S}/iMX8M"
65BOOT_STAGING:mx8dx = "${S}/iMX8QX" 65BOOT_STAGING:mx8dx-nxp-bsp = "${S}/iMX8QX"
66 66
67SOC_FAMILY = "INVALID" 67SOC_FAMILY = "INVALID"
68SOC_FAMILY:mx8 = "mx8" 68SOC_FAMILY:mx8-nxp-bsp = "mx8"
69SOC_FAMILY:mx8m = "mx8m" 69SOC_FAMILY:mx8m-nxp-bsp = "mx8m"
70SOC_FAMILY:mx8x = "mx8x" 70SOC_FAMILY:mx8x-nxp-bsp = "mx8x"
71 71
72REV_OPTION ?= "" 72REV_OPTION ?= ""
73REV_OPTION:mx8qxp = \ 73REV_OPTION:mx8qxp-nxp-bsp = \
74 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', '', \ 74 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', '', \
75 'REV=C0', d)}" 75 'REV=C0', d)}"
76 76
@@ -201,4 +201,4 @@ addtask deploy before do_build after do_compile
201PACKAGE_ARCH = "${MACHINE_ARCH}" 201PACKAGE_ARCH = "${MACHINE_ARCH}"
202FILES:${PN} = "/boot" 202FILES:${PN} = "/boot"
203 203
204COMPATIBLE_MACHINE = "(mx8)" 204COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb
index 27f7a2a7..aca10f60 100644
--- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.11.0.bb
@@ -15,10 +15,10 @@ SRC_URI[sha256sum] = "4ad2999088098c7d95837b7dc88adceda319c2102c8bdf55bf6e945365
15 15
16BOARD_TYPE ?= "mek" 16BOARD_TYPE ?= "mek"
17SC_FIRMWARE_NAME ?= "INVALID" 17SC_FIRMWARE_NAME ?= "INVALID"
18SC_FIRMWARE_NAME:mx8qm = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin" 18SC_FIRMWARE_NAME:mx8qm-nxp-bsp = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin"
19SC_FIRMWARE_NAME:mx8qxp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin" 19SC_FIRMWARE_NAME:mx8qxp-nxp-bsp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin"
20SC_FIRMWARE_NAME:mx8dxl = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin" 20SC_FIRMWARE_NAME:mx8dxl-nxp-bsp = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin"
21SC_FIRMWARE_NAME:mx8dx = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin" 21SC_FIRMWARE_NAME:mx8dx-nxp-bsp = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin"
22 22
23symlink_name = "scfw_tcm.bin" 23symlink_name = "scfw_tcm.bin"
24 24
@@ -38,4 +38,4 @@ INHIBIT_PACKAGE_STRIP = "1"
38INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 38INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
39PACKAGE_ARCH = "${MACHINE_ARCH}" 39PACKAGE_ARCH = "${MACHINE_ARCH}"
40 40
41COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8dxl|mx8dx)" 41COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)"
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb
index f8c3c239..38349f4b 100644
--- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb
+++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb
@@ -21,4 +21,4 @@ do_install () {
21 oe_runmake DESTDIR=${D} install 21 oe_runmake DESTDIR=${D} install
22} 22}
23 23
24COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8dxl|mx8dx)" 24COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)"
diff --git a/recipes-bsp/imx-seco/imx-seco_3.8.4.bb b/recipes-bsp/imx-seco/imx-seco_3.8.4.bb
index bd5739cd..85ff47bc 100644
--- a/recipes-bsp/imx-seco/imx-seco_3.8.4.bb
+++ b/recipes-bsp/imx-seco/imx-seco_3.8.4.bb
@@ -23,4 +23,4 @@ do_deploy () {
23 install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} 23 install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${DEPLOYDIR}
24} 24}
25 25
26COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8dxl|mx8dx)" 26COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)"
diff --git a/recipes-bsp/imx-test/imx-test_00.00.00.bb b/recipes-bsp/imx-test/imx-test_00.00.00.bb
index 070fbd30..2feb9b3a 100644
--- a/recipes-bsp/imx-test/imx-test_00.00.00.bb
+++ b/recipes-bsp/imx-test/imx-test_00.00.00.bb
@@ -7,4 +7,4 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ad
7ALLOW_EMPTY:${PN} = "1" 7ALLOW_EMPTY:${PN} = "1"
8 8
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
10COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf50|vf60)" 10COMPATIBLE_MACHINE = "(mxs-generic-bsp|mx5-generic-bsp|mx6-nxp-bsp|vf50-generic-bsp|vf60-generic-bsp)"
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb
index d33ad18c..84696e35 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -9,8 +9,8 @@ LICENSE = "GPLv2+"
9LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" 9LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
10 10
11DEPENDS = "alsa-lib libdrm" 11DEPENDS = "alsa-lib libdrm"
12DEPENDS:append:mx6 = " imx-lib" 12DEPENDS:append:mx6-nxp-bsp = " imx-lib"
13DEPENDS:append:mx7 = " imx-lib" 13DEPENDS:append:mx7-nxp-bsp = " imx-lib"
14DEPENDS:append:imxvpu = " virtual/imxvpu" 14DEPENDS:append:imxvpu = " virtual/imxvpu"
15 15
16PE = "1" 16PE = "1"
@@ -29,22 +29,22 @@ inherit module-base use-imx-headers
29INHIBIT_PACKAGE_STRIP = "1" 29INHIBIT_PACKAGE_STRIP = "1"
30INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 30INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
31 31
32PLATFORM:mx6q = "IMX6Q" 32PLATFORM:mx6q-nxp-bsp = "IMX6Q"
33PLATFORM:mx6dl = "IMX6Q" 33PLATFORM:mx6dl-nxp-bsp = "IMX6Q"
34PLATFORM:mx6sl = "IMX6SL" 34PLATFORM:mx6sl-nxp-bsp = "IMX6SL"
35PLATFORM:mx6sll = "IMX6SL" 35PLATFORM:mx6sll-nxp-bsp = "IMX6SL"
36PLATFORM:mx6sx = "IMX6SX" 36PLATFORM:mx6sx-nxp-bsp = "IMX6SX"
37PLATFORM:mx6ul = "IMX6UL" 37PLATFORM:mx6ul-nxp-bsp = "IMX6UL"
38PLATFORM:mx7d = "IMX7D" 38PLATFORM:mx7d-nxp-bsp = "IMX7D"
39PLATFORM:mx7ulp = "IMX7D" 39PLATFORM:mx7ulp-nxp-bsp = "IMX7D"
40PLATFORM:mx8 = "IMX8" 40PLATFORM:mx8-nxp-bsp = "IMX8"
41 41
42PARALLEL_MAKE = "-j 1" 42PARALLEL_MAKE = "-j 1"
43EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" 43EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
44 44
45PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 45PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
46PACKAGECONFIG:append:imxvpu = " vpu" 46PACKAGECONFIG:append:imxvpu = " vpu"
47PACKAGECONFIG:append:mx8m = " swpdm" 47PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm"
48 48
49PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" 49PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr"
50PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu" 50PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu"
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb
index 0de2ad85..3c66088b 100644
--- a/recipes-bsp/imx-uuc/imx-uuc_git.bb
+++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb
@@ -18,4 +18,4 @@ S = "${WORKDIR}/git"
18 18
19FILES:${PN} += "/linuxrc /fat" 19FILES:${PN} += "/linuxrc /fat"
20 20
21COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" 21COMPATIBLE_MACHINE = "(imx-nxp-bsp|use-mainline-bsp)"
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb
index 2a17d76f..3dc5d4db 100644
--- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb
+++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.6.0.bb
@@ -32,4 +32,4 @@ do_install () {
32 32
33FILES:${PN} = "/" 33FILES:${PN} = "/"
34 34
35COMPATIBLE_MACHINE = "(mx8mp)" 35COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb
index d4a48627..6ff88860 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.1.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1"
5 5
6DEPENDS = "imx-vpu-hantro" 6DEPENDS = "imx-vpu-hantro"
7DEPENDS:append:mx8mp = " imx-vpu-hantro-vc" 7DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 ${FSL_MIRROR}/${BP}.tar.gz \ 10 ${FSL_MIRROR}/${BP}.tar.gz \
@@ -12,9 +12,9 @@ SRC_URI = " \
12SRC_URI[md5sum] = "99e96b2e00516d56a78a95a80851076b" 12SRC_URI[md5sum] = "99e96b2e00516d56a78a95a80851076b"
13SRC_URI[sha256sum] = "e7b3d55f72e233179b1b28c03628139b463d1994d140fed3c3e0796c66e917c8" 13SRC_URI[sha256sum] = "e7b3d55f72e233179b1b28c03628139b463d1994d140fed3c3e0796c66e917c8"
14 14
15PLATFORM:mx8mm = "IMX8MM" 15PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
16PLATFORM:mx8mq = "IMX8MQ" 16PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
17PLATFORM:mx8mp = "IMX8MP" 17PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
18 18
19EXTRA_OEMAKE = " \ 19EXTRA_OEMAKE = " \
20 CROSS_COMPILE="${HOST_PREFIX}" \ 20 CROSS_COMPILE="${HOST_PREFIX}" \
@@ -28,4 +28,4 @@ do_install () {
28} 28}
29 29
30PACKAGE_ARCH = "${MACHINE_SOCARCH}" 30PACKAGE_ARCH = "${MACHINE_SOCARCH}"
31COMPATIBLE_MACHINE = "(mx8mq|mx8mm|mx8mp)" 31COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb
index 84c71610..6290c6e5 100644
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.24.0.bb
@@ -14,9 +14,9 @@ inherit fsl-eula-unpack use-imx-headers
14 14
15PARALLEL_MAKE="-j 1" 15PARALLEL_MAKE="-j 1"
16 16
17PLATFORM:mx8mm = "IMX8MM" 17PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
18PLATFORM:mx8mq = "IMX8MQ" 18PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
19PLATFORM:mx8mp = "IMX8MP" 19PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
20 20
21EXTRA_OEMAKE = " \ 21EXTRA_OEMAKE = " \
22 CROSS_COMPILE="${HOST_PREFIX}" \ 22 CROSS_COMPILE="${HOST_PREFIX}" \
@@ -32,4 +32,4 @@ FILES:${PN} += "/unit_tests"
32 32
33RDEPENDS:${PN} += "imx-vpu-hantro-daemon" 33RDEPENDS:${PN} += "imx-vpu-hantro-daemon"
34 34
35COMPATIBLE_MACHINE = "(mx8mq|mx8mm|mx8mp)" 35COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
index 95252dae..77c81f19 100644
--- a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
+++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb
@@ -29,4 +29,4 @@ do_install() {
29} 29}
30 30
31# Compatible only for i.MX with Chips&Media VPU 31# Compatible only for i.MX with Chips&Media VPU
32COMPATIBLE_MACHINE = "(mx6q|mx6dl)" 32COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)"
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb
index e7c8a326..5b53068c 100644
--- a/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb
+++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb
@@ -24,4 +24,4 @@ SYSTEMD_AUTO_ENABLE = "enable"
24FILES:${PN} = "${libdir} /opt" 24FILES:${PN} = "${libdir} /opt"
25INSANE_SKIP:${PN} = "file-rdeps already-stripped" 25INSANE_SKIP:${PN} = "file-rdeps already-stripped"
26 26
27COMPATIBLE_MACHINE = "(mx8mp)" 27COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
index 4411c351..64fe3bf1 100644
--- a/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
+++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
@@ -88,4 +88,4 @@ INSANE_SKIP:${PN} = "rpaths"
88 88
89RDEPENDS:${PN} = "libdrm libpython3" 89RDEPENDS:${PN} = "libdrm libpython3"
90 90
91COMPATIBLE_MACHINE = "(mx8mp)" 91COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb
index 38481b54..dbf54440 100644
--- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb
+++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb
@@ -32,9 +32,9 @@ PACKAGECONFIG ?= " "
32PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" 32PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}"
33PACKAGECONFIG:append:imxipu = " ipu" 33PACKAGECONFIG:append:imxipu = " ipu"
34PACKAGECONFIG:append:imxpxp = " pxp" 34PACKAGECONFIG:append:imxpxp = " pxp"
35PACKAGECONFIG:append:mx8m = " ion dwl" 35PACKAGECONFIG:append:mx8m-nxp-bsp = " ion dwl"
36PACKAGECONFIG:append:mx8qm = " ion" 36PACKAGECONFIG:append:mx8qm-nxp-bsp = " ion"
37PACKAGECONFIG:append:mx8qxp = " ion" 37PACKAGECONFIG:append:mx8qxp-nxp-bsp = " ion"
38 38
39HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" 39HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2"
40 40
@@ -51,4 +51,4 @@ do_install_ptest_base() {
51 install -m 0755 ${B}/test-alloc ${D}${PTEST_PATH} 51 install -m 0755 ${B}/test-alloc ${D}${PTEST_PATH}
52} 52}
53 53
54COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 54COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2022.01.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2022.01.bb
index a3a732ef..07f2c969 100644
--- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2022.01.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2022.01.bb
@@ -27,6 +27,6 @@ do_install () {
27 ln -sf uboot-mxsboot ${D}${bindir}/mxsboot 27 ln -sf uboot-mxsboot ${D}${bindir}/mxsboot
28} 28}
29 29
30COMPATIBLE_MACHINE:class-target = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)" 30COMPATIBLE_MACHINE:class-target = "(mxs-generic-bsp|mx5-generic-bsp|mx6-nxp-bsp|mx7-nxp-bsp|vf-generic-bsp|use-mainline-bsp)"
31 31
32BBCLASSEXTEND = "native nativesdk" 32BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb b/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb
index 21989ae5..6f9a251b 100644
--- a/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb
+++ b/recipes-bsp/u-boot/u-boot-fslc_2022.01.bb
@@ -12,7 +12,7 @@ DEPENDS += "bc-native dtc-native python3-setuptools-native lzop-native"
12 12
13# Location known to imx-boot component, where U-Boot artifacts 13# Location known to imx-boot component, where U-Boot artifacts
14# should be additionally deployed. 14# should be additionally deployed.
15# See below note above do_deploy:append:mx8m for the purpose of 15# See below note above do_deploy:append:mx8m-nxp-bsp for the purpose of
16# this delopyment location 16# this delopyment location
17BOOT_TOOLS = "imx-boot-tools" 17BOOT_TOOLS = "imx-boot-tools"
18 18
@@ -28,4 +28,4 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
28 HOSTSTRIP=true' 28 HOSTSTRIP=true'
29 29
30PACKAGE_ARCH = "${MACHINE_ARCH}" 30PACKAGE_ARCH = "${MACHINE_ARCH}"
31COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)" 31COMPATIBLE_MACHINE = "(mxs-generic-bsp|mx5-generic-bsp|mx6-nxp-bsp|mx7-nxp-bsp|vf-generic-bsp|use-mainline-bsp)"
diff --git a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2021.04.bb b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2021.04.bb
index 5443ceac..500b2de0 100644
--- a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2021.04.bb
+++ b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2021.04.bb
@@ -8,5 +8,5 @@ require u-boot-imx_${PV}.bb
8require u-boot-mfgtool.inc 8require u-boot-mfgtool.inc
9 9
10UUU_BOOTLOADER_TAGGED = "" 10UUU_BOOTLOADER_TAGGED = ""
11UUU_BOOTLOADER_TAGGED:mx6 = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}" 11UUU_BOOTLOADER_TAGGED:mx6-nxp-bsp = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}"
12UUU_BOOTLOADER_TAGGED:mx7 = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}" 12UUU_BOOTLOADER_TAGGED:mx7-nxp-bsp = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}"
diff --git a/recipes-bsp/u-boot/u-boot-imx_2021.04.bb b/recipes-bsp/u-boot/u-boot-imx_2021.04.bb
index 96552eef..8d790db8 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2021.04.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2021.04.bb
@@ -10,13 +10,13 @@ PROVIDES += "u-boot"
10inherit uuu_bootloader_tag 10inherit uuu_bootloader_tag
11 11
12UUU_BOOTLOADER = "" 12UUU_BOOTLOADER = ""
13UUU_BOOTLOADER:mx6 = "${UBOOT_BINARY}" 13UUU_BOOTLOADER:mx6-nxp-bsp = "${UBOOT_BINARY}"
14UUU_BOOTLOADER:mx7 = "${UBOOT_BINARY}" 14UUU_BOOTLOADER:mx7-nxp-bsp = "${UBOOT_BINARY}"
15UUU_BOOTLOADER_TAGGED = "" 15UUU_BOOTLOADER_TAGGED = ""
16UUU_BOOTLOADER_TAGGED:mx6 = "u-boot-tagged.${UBOOT_SUFFIX}" 16UUU_BOOTLOADER_TAGGED:mx6-nxp-bsp = "u-boot-tagged.${UBOOT_SUFFIX}"
17UUU_BOOTLOADER_TAGGED:mx7 = "u-boot-tagged.${UBOOT_SUFFIX}" 17UUU_BOOTLOADER_TAGGED:mx7-nxp-bsp = "u-boot-tagged.${UBOOT_SUFFIX}"
18 18
19do_deploy:append:mx8m() { 19do_deploy:append:mx8m-nxp-bsp() {
20 # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary 20 # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary
21 if [ -n "${UBOOT_CONFIG}" ] 21 if [ -n "${UBOOT_CONFIG}" ]
22 then 22 then
@@ -38,4 +38,4 @@ do_deploy:append:mx8m() {
38} 38}
39 39
40PACKAGE_ARCH = "${MACHINE_ARCH}" 40PACKAGE_ARCH = "${MACHINE_ARCH}"
41COMPATIBLE_MACHINE = "(mx6|mx7|mx8|use-mainline-bsp)" 41COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp|use-mainline-bsp)"
diff --git a/recipes-devtools/uuu/uuu_git.bb b/recipes-devtools/uuu/uuu_git.bb
index dedcbe84..1868d9ae 100644
--- a/recipes-devtools/uuu/uuu_git.bb
+++ b/recipes-devtools/uuu/uuu_git.bb
@@ -17,6 +17,6 @@ S = "${WORKDIR}/git"
17 17
18DEPENDS = "libusb zlib bzip2 openssl" 18DEPENDS = "libusb zlib bzip2 openssl"
19 19
20COMPATIBLE_MACHINE = "(imx)" 20COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
21 21
22BBCLASSEXTEND = "native nativesdk" 22BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index f4c932ea..ba36260e 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -14,7 +14,7 @@ COMPATIBLE_HOST:armv4 = 'null'
14COMPATIBLE_HOST:armv5 = 'null' 14COMPATIBLE_HOST:armv5 = 'null'
15COMPATIBLE_HOST:armv6 = 'null' 15COMPATIBLE_HOST:armv6 = 'null'
16 16
17COMPATIBLE_MACHINE = "(imx|qoriq)" 17COMPATIBLE_MACHINE = "(imx-nxp-bsp|qoriq)"
18 18
19DPDK_RTE_TARGET:x86-64 = "x86_64-native-linuxapp-gcc" 19DPDK_RTE_TARGET:x86-64 = "x86_64-native-linuxapp-gcc"
20DPDK_RTE_TARGET:x86 = "i686-native-linuxapp-gcc" 20DPDK_RTE_TARGET:x86 = "i686-native-linuxapp-gcc"
diff --git a/recipes-extended/jailhouse/jailhouse_0.12.bb b/recipes-extended/jailhouse/jailhouse_0.12.bb
index 43b4cdf5..bdd55985 100644
--- a/recipes-extended/jailhouse/jailhouse_0.12.bb
+++ b/recipes-extended/jailhouse/jailhouse_0.12.bb
@@ -119,4 +119,4 @@ RDEPENDS:pyjailhouse = " \
119 119
120INSANE_SKIP:${PN} = "ldflags" 120INSANE_SKIP:${PN} = "ldflags"
121 121
122COMPATIBLE_MACHINE = "(mx8m)" 122COMPATIBLE_MACHINE = "(mx8m-nxp-bsp)"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb b/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb
index d832a926..415587a8 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb
@@ -5,7 +5,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
5inherit packagegroup 5inherit packagegroup
6 6
7ISP_PKGS ?= "" 7ISP_PKGS ?= ""
8ISP_PKGS:mx8mp = " \ 8ISP_PKGS:mx8mp-nxp-bsp = " \
9 isp-imx \ 9 isp-imx \
10 basler-camera \ 10 basler-camera \
11 basler-camera-dev \ 11 basler-camera-dev \
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
index 59f58976..04241420 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
@@ -46,4 +46,4 @@ RDEPENDS:${PN}-extfs = " \
46 e2fsprogs-mke2fs \ 46 e2fsprogs-mke2fs \
47 e2fsprogs-e2fsck \ 47 e2fsprogs-e2fsck \
48" 48"
49COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" 49COMPATIBLE_MACHINE = "(imx-nxp-bsp|use-mainline-bsp)"
diff --git a/recipes-graphics/drm/libdrm_2.4.107.imx.bb b/recipes-graphics/drm/libdrm_2.4.107.imx.bb
index cf5dadd4..8e1a6a0f 100644
--- a/recipes-graphics/drm/libdrm_2.4.107.imx.bb
+++ b/recipes-graphics/drm/libdrm_2.4.107.imx.bb
@@ -18,7 +18,7 @@ SRCREV = "a7316e7d67b7708f40ffe469858dae07f14fe21a"
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20DEFAULT_PREFERENCE = "-1" 20DEFAULT_PREFERENCE = "-1"
21COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 21COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
22 22
23inherit meson pkgconfig manpages 23inherit meson pkgconfig manpages
24 24
diff --git a/recipes-graphics/images/core-image-weston.bbappend b/recipes-graphics/images/core-image-weston.bbappend
index 77d2fe74..0d4a0c6f 100644
--- a/recipes-graphics/images/core-image-weston.bbappend
+++ b/recipes-graphics/images/core-image-weston.bbappend
@@ -1,3 +1,3 @@
1# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks GL support, 1# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks GL support,
2# so for now we skip it. 2# so for now we skip it.
3CORE_IMAGE_BASE_INSTALL:remove:mx6sl = "clutter-1.0-examples" 3CORE_IMAGE_BASE_INSTALL:remove:mx6sl-nxp-bsp = "clutter-1.0-examples"
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
index c272d1b7..bd041582 100644
--- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
+++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb
@@ -13,13 +13,13 @@ S = "${WORKDIR}/git"
13 13
14inherit cmake pkgconfig perlnative python3native 14inherit cmake pkgconfig perlnative python3native
15 15
16PACKAGECONFIG_BACKEND:mx6 = " \ 16PACKAGECONFIG_BACKEND:mx6-nxp-bsp = " \
17 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ 17 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \
18 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ 18 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
19 '', d), d)} \ 19 '', d), d)} \
20" 20"
21PACKAGECONFIG_BACKEND:mx7 = "${PACKAGECONFIG_BACKEND:mx6}" 21PACKAGECONFIG_BACKEND:mx7-nxp-bsp = "${PACKAGECONFIG_BACKEND:mx6-nxp-bsp}"
22PACKAGECONFIG_BACKEND:mx8 = "waffle" 22PACKAGECONFIG_BACKEND:mx8-nxp-bsp = "waffle"
23 23
24PACKAGECONFIG_GPU2D = "" 24PACKAGECONFIG_GPU2D = ""
25PACKAGECONFIG_GPU2D:imxgpu2d = "vivante" 25PACKAGECONFIG_GPU2D:imxgpu2d = "vivante"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index 1b3a0169..61637393 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -18,7 +18,7 @@ DEPENDS += " \
18 '', d)} \ 18 '', d)} \
19" 19"
20DEPENDS:append:imxdrm = " libdrm wayland" 20DEPENDS:append:imxdrm = " libdrm wayland"
21DEPENDS:append:mx8 = " patchelf-native" 21DEPENDS:append:mx8-nxp-bsp = " patchelf-native"
22 22
23# imx-gpu-viv does not provide everything it needs to for virtual/libgl 23# imx-gpu-viv does not provide everything it needs to for virtual/libgl
24# on x11 backend or on Wayland backend with XWayland support. 24# on x11 backend or on Wayland backend with XWayland support.
@@ -31,12 +31,12 @@ EXTRA_PROVIDES:append:imxgpu3d = " \
31 virtual/libgles1 \ 31 virtual/libgles1 \
32 virtual/libgles2 \ 32 virtual/libgles2 \
33" 33"
34EXTRA_PROVIDES:append:mx8 = " \ 34EXTRA_PROVIDES:append:mx8-nxp-bsp = " \
35 virtual/libgbm \ 35 virtual/libgbm \
36" 36"
37PROVIDES_OPENVX = "" 37PROVIDES_OPENVX = ""
38PROVIDES_OPENVX:mx8 = "virtual/libopenvx" 38PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx"
39PROVIDES_OPENVX:mx8mm = "" 39PROVIDES_OPENVX:mx8mm-nxp-bsp = ""
40PROVIDES += " \ 40PROVIDES += " \
41 imx-gpu-viv \ 41 imx-gpu-viv \
42 libgal-imx \ 42 libgal-imx \
@@ -56,12 +56,7 @@ PE = "1"
56 56
57inherit fsl-eula-unpack features_check 57inherit fsl-eula-unpack features_check
58 58
59# For i.MX 6 & 7, support Wayland and Framebuffer 59REQUIRED_DISTRO_FEATURES:mx8-nxp-bsp = "wayland"
60CONFLICT_DISTRO_FEATURES:mx6 = \
61 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'x11', d)}"
62CONFLICT_DISTRO_FEATURES:mx7 = "${CONFLICT_DISTRO_FEATURES:mx6}"
63# For i.MX 8, support Wayland only
64REQUIRED_DISTRO_FEATURES:mx8 = "wayland"
65 60
66SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" 61SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
67 62
@@ -72,7 +67,7 @@ PACKAGECONFIG[valgrind] = ""
72 67
73# Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below 68# Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below
74IMX_PACKAGES_GBM = "" 69IMX_PACKAGES_GBM = ""
75IMX_PACKAGES_GBM:mx8 = "libgbm-imx libgbm-imx-dev" 70IMX_PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev"
76PACKAGES =+ "libclc-imx libclc-imx-dev \ 71PACKAGES =+ "libclc-imx libclc-imx-dev \
77 libgl-imx libgl-imx-dev \ 72 libgl-imx libgl-imx-dev \
78 libgles1-imx libgles1-imx-dev \ 73 libgles1-imx libgles1-imx-dev \
@@ -140,23 +135,23 @@ python __anonymous() {
140} 135}
141 136
142IS_MX6SL = "0" 137IS_MX6SL = "0"
143IS_MX6SL:mx6sl = "1" 138IS_MX6SL:mx6sl-nxp-bsp = "1"
144 139
145IS_MX8 = "0" 140IS_MX8 = "0"
146IS_MX8:mx8 = "1" 141IS_MX8:mx8-nxp-bsp = "1"
147 142
148PACKAGE_FP_TYPE = "hardfp" 143PACKAGE_FP_TYPE = "hardfp"
149 144
150HAS_GBM = "false" 145HAS_GBM = "false"
151HAS_GBM:mx8 = "true" 146HAS_GBM:mx8-nxp-bsp = "true"
152 147
153IMX_SOC = "IMX_SOC_NOT_SET" 148IMX_SOC = "IMX_SOC_NOT_SET"
154IMX_SOC:mx8qm = "mx8qm" 149IMX_SOC:mx8qm-nxp-bsp = "mx8qm"
155IMX_SOC:mx8mp = "mx8mp" 150IMX_SOC:mx8mp-nxp-bsp = "mx8mp"
156IMX_SOC:mx8mq = "mx8mq" 151IMX_SOC:mx8mq-nxp-bsp = "mx8mq"
157IMX_SOC:mx8qxp = "mx8qxp" 152IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp"
158IMX_SOC:mx8mn = "mx8mn" 153IMX_SOC:mx8mn-nxp-bsp = "mx8mn"
159IMX_SOC:mx8ulp = "mx8ulp" 154IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp"
160 155
161LIBVULKAN_VERSION_MAJOR = "1" 156LIBVULKAN_VERSION_MAJOR = "1"
162LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6" 157LIBVULKAN_VERSION = "${LIBVULKAN_VERSION_MAJOR}.1.6"
@@ -262,9 +257,9 @@ INSANE_SKIP:libgal-imx += "build-deps"
262 257
263FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" 258FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}"
264 259
265FILES:libgbm-imx:mx8 = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBSDEV} ${libdir}/libgbm_viv${SOLIBSDEV}" 260FILES:libgbm-imx:mx8-nxp-bsp = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBSDEV} ${libdir}/libgbm_viv${SOLIBSDEV}"
266FILES:libgbm-imx-dev:mx8 = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" 261FILES:libgbm-imx-dev:mx8-nxp-bsp = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
267RDEPENDS:libgbm-imx:append:mx8 = " libdrm" 262RDEPENDS:libgbm-imx:append:mx8-nxp-bsp = " libdrm"
268INSANE_SKIP:libgbm-imx += "dev-so" 263INSANE_SKIP:libgbm-imx += "dev-so"
269 264
270FILES:libvulkan-imx = "${libdir}/libvulkan_VSI${REALSOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}" 265FILES:libvulkan-imx = "${libdir}/libvulkan_VSI${REALSOLIBS} ${libdir}/libSPIRV_viv${SOLIBS}"
@@ -328,4 +323,4 @@ INSANE_SKIP:imx-gpu-viv-demos += "rpaths dev-deps"
328 323
329FILES:libnn-imx = "${libdir}/libNN*${SOLIBS}" 324FILES:libnn-imx = "${libdir}/libNN*${SOLIBS}"
330 325
331# COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx8)" 326# COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch32.bb
index a2f23731..ea3b0bde 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch32.bb
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch32.bb
@@ -7,4 +7,4 @@ require imx-gpu-viv-6.inc
7SRC_URI[md5sum] = "d577c4e34df73855ebf1c3b3be206f40" 7SRC_URI[md5sum] = "d577c4e34df73855ebf1c3b3be206f40"
8SRC_URI[sha256sum] = "a0266612e8c9ca64b417047274941c867de1058db6709170d0bb5c8b8a38eab1" 8SRC_URI[sha256sum] = "a0266612e8c9ca64b417047274941c867de1058db6709170d0bb5c8b8a38eab1"
9 9
10COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx7ulp)" 10COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp|mx6sx-nxp-bsp|mx6sl-nxp-bsp|mx7ulp-nxp-bsp)"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch64.bb
index b69bd041..7fc1bc4e 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch64.bb
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p2.4-aarch64.bb
@@ -3,4 +3,4 @@ require imx-gpu-viv-6.inc
3SRC_URI[md5sum] = "d53371c1a9a504ff15f747e725164dcb" 3SRC_URI[md5sum] = "d53371c1a9a504ff15f747e725164dcb"
4SRC_URI[sha256sum] = "6106133afed40327b65d3eec0c197d214ff8f28f8ce3cad94653be4bffb9f9d4" 4SRC_URI[sha256sum] = "6106133afed40327b65d3eec0c197d214ff8f28f8ce3cad94653be4bffb9f9d4"
5 5
6COMPATIBLE_MACHINE = "(mx8)" 6COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend
index 380273a8..e88f558d 100644
--- a/recipes-graphics/waffle/waffle_%.bbappend
+++ b/recipes-graphics/waffle/waffle_%.bbappend
@@ -8,8 +8,8 @@ SRC_URI += " \
8PACKAGECONFIG_IMXGPU_X11 = "" 8PACKAGECONFIG_IMXGPU_X11 = ""
9PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" 9PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx"
10PACKAGECONFIG_IMXGPU_GBM = "gbm" 10PACKAGECONFIG_IMXGPU_GBM = "gbm"
11PACKAGECONFIG_IMXGPU_GBM:mx6 = "" 11PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = ""
12PACKAGECONFIG_IMXGPU_GBM:mx7 = "" 12PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = ""
13PACKAGECONFIG:imxgpu = " \ 13PACKAGECONFIG:imxgpu = " \
14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
15 bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ 15 bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend
index 6a5ede37..7aceb6b1 100644
--- a/recipes-graphics/wayland/weston-init.bbappend
+++ b/recipes-graphics/wayland/weston-init.bbappend
@@ -6,19 +6,19 @@ IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl"
6IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" 6IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = ""
7REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" 7REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}"
8 8
9SRC_URI:append:mx6sl = " file://weston.config" 9SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config"
10 10
11# To customize weston.ini, start by setting the desired assignment in weston.ini, 11# To customize weston.ini, start by setting the desired assignment in weston.ini,
12# commented out. For example: 12# commented out. For example:
13# #xwayland=true 13# #xwayland=true
14# Then add the assignment to INI_UNCOMMENT_ASSIGNMENTS. 14# Then add the assignment to INI_UNCOMMENT_ASSIGNMENTS.
15INI_UNCOMMENT_ASSIGNMENTS:append:imx = " \ 15INI_UNCOMMENT_ASSIGNMENTS:append:imx-nxp-bsp = " \
16 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland=true', '', d)} \ 16 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland=true', '', d)} \
17" 17"
18INI_UNCOMMENT_ASSIGNMENTS:append:mx8 = " \ 18INI_UNCOMMENT_ASSIGNMENTS:append:mx8-nxp-bsp = " \
19 repaint-window=16 \ 19 repaint-window=16 \
20" 20"
21INI_UNCOMMENT_ASSIGNMENTS:append:mx8mq = " \ 21INI_UNCOMMENT_ASSIGNMENTS:append:mx8mq-nxp-bsp = " \
22 gbm-format=argb8888 \ 22 gbm-format=argb8888 \
23 \\[shell\\] \ 23 \\[shell\\] \
24 size=1920x1080 \ 24 size=1920x1080 \
@@ -28,8 +28,8 @@ INI_UNCOMMENT_ASSIGNMENTS:append:mx8mq = " \
28# Ideally, this should be seamless and Vivante ought to handle it internally and take the fastest 28# Ideally, this should be seamless and Vivante ought to handle it internally and take the fastest
29# rendering code. 29# rendering code.
30INI_UNCOMMENT_USE_G2D:imxgpu2d ?= "use-g2d=1" 30INI_UNCOMMENT_USE_G2D:imxgpu2d ?= "use-g2d=1"
31INI_UNCOMMENT_USE_G2D:mx8qm = "" 31INI_UNCOMMENT_USE_G2D:mx8qm-nxp-bsp = ""
32INI_UNCOMMENT_USE_G2D:mx8qxp = "" 32INI_UNCOMMENT_USE_G2D:mx8qxp-nxp-bsp = ""
33INI_UNCOMMENT_ASSIGNMENTS:append:imxgpu2d = " \ 33INI_UNCOMMENT_ASSIGNMENTS:append:imxgpu2d = " \
34 ${INI_UNCOMMENT_USE_G2D} \ 34 ${INI_UNCOMMENT_USE_G2D} \
35" 35"
diff --git a/recipes-graphics/wayland/weston-init/imx/weston.ini b/recipes-graphics/wayland/weston-init/imx-nxp-bsp/weston.ini
index 3e8be42f..3e8be42f 100644
--- a/recipes-graphics/wayland/weston-init/imx/weston.ini
+++ b/recipes-graphics/wayland/weston-init/imx-nxp-bsp/weston.ini
diff --git a/recipes-graphics/wayland/weston-init/mx6sl/weston.config b/recipes-graphics/wayland/weston-init/mx6sl-nxp-bsp/weston.config
index 6456cd24..6456cd24 100755
--- a/recipes-graphics/wayland/weston-init/mx6sl/weston.config
+++ b/recipes-graphics/wayland/weston-init/mx6sl-nxp-bsp/weston.config
diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6-nxp-bsp/pointercal.xinput
index ba34b89f..ba34b89f 100644
--- a/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6-nxp-bsp/pointercal.xinput
diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb
index 6944184f..1a272304 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb
+++ b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb
@@ -62,4 +62,4 @@ FILES:${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIB
62FILES:xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi" 62FILES:xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi"
63 63
64PACKAGE_ARCH = "${MACHINE_SOCARCH}" 64PACKAGE_ARCH = "${MACHINE_SOCARCH}"
65COMPATIBLE_MACHINE = "(mx6|mx7ulp)" 65COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7ulp-nxp-bsp)"
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5-generic-bsp/xorg.conf
index a99e6f24..a99e6f24 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5-generic-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf
index b89bed60..b89bed60 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sl/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sl-nxp-bsp/xorg.conf
index de3905ab..de3905ab 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sl/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sl-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sll/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sll-nxp-bsp/xorg.conf
index 79b6c0fc..79b6c0fc 100755
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sll/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sll-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sx/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sx-nxp-bsp/xorg.conf
index de3905ab..de3905ab 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sx/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6sx-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ul/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ul-nxp-bsp/xorg.conf
index 79b6c0fc..79b6c0fc 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ul/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ul-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ull/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ull-nxp-bsp/xorg.conf
index 79b6c0fc..79b6c0fc 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ull/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6ull-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7-nxp-bsp/xorg.conf
index 79b6c0fc..79b6c0fc 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7ulp/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7ulp-nxp-bsp/xorg.conf
index de6307a3..de6307a3 100755
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7ulp/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mx7ulp-nxp-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs-generic-bsp/xorg.conf
index 79b6c0fc..79b6c0fc 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs-generic-bsp/xorg.conf
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
index be3c3817..c956245b 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -19,6 +19,6 @@ SRC_URI:append:imxgpu = " \
19 19
20IMX_OPENGL_PKGCONFIGS_REMOVE = "" 20IMX_OPENGL_PKGCONFIGS_REMOVE = ""
21IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" 21IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor"
22OPENGL_PKGCONFIGS:remove:mx6 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" 22OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
23OPENGL_PKGCONFIGS:remove:mx7 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" 23OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
24OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx" 24OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx"
diff --git a/recipes-graphics/xwayland/xwayland_%.bbappend b/recipes-graphics/xwayland/xwayland_%.bbappend
index b3e79e09..c63212d0 100644
--- a/recipes-graphics/xwayland/xwayland_%.bbappend
+++ b/recipes-graphics/xwayland/xwayland_%.bbappend
@@ -1,4 +1,4 @@
1IMX_OPENGL_PKGCONFIGS_REMOVE = "" 1IMX_OPENGL_PKGCONFIGS_REMOVE = ""
2IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" 2IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor"
3OPENGL_PKGCONFIGS:remove:mx6 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" 3OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
4OPENGL_PKGCONFIGS:remove:mx7 = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" 4OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4+fslc.bb
index 18144f41..459f88d4 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4+fslc.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4+fslc.bb
@@ -17,4 +17,4 @@ S = "${WORKDIR}/git"
17inherit module 17inherit module
18 18
19KERNEL_MODULE_AUTOLOAD = "galcore" 19KERNEL_MODULE_AUTOLOAD = "galcore"
20COMPATIBLE_MACHINE = "(imx)" 20COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4.bb
index a3433b7c..37b6d2f7 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.3.p2.4.bb
@@ -23,4 +23,4 @@ inherit module
23EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m" 23EXTRA_OEMAKE += "CONFIG_MXC_GPU_VIV=m"
24 24
25KERNEL_MODULE_AUTOLOAD = "galcore" 25KERNEL_MODULE_AUTOLOAD = "galcore"
26COMPATIBLE_MACHINE = "(imx)" 26COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.16.0.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.16.0.bb
index e9a09ad7..71265e53 100644
--- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.16.0.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.16.0.bb
@@ -16,4 +16,4 @@ S = "${WORKDIR}/git/vvcam/v4l2"
16 16
17inherit module 17inherit module
18 18
19COMPATIBLE_MACHINE = "(mx8mp)" 19COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
diff --git a/recipes-kernel/linux/linux-fslc-imx/imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/imx-nxp-bsp/defconfig
index 6ca0833e..6ca0833e 100644
--- a/recipes-kernel/linux/linux-fslc-imx/imx/defconfig
+++ b/recipes-kernel/linux/linux-fslc-imx/imx-nxp-bsp/defconfig
diff --git a/recipes-kernel/linux/linux-fslc-imx/mx8/defconfig b/recipes-kernel/linux/linux-fslc-imx/mx8-nxp-bsp/defconfig
index ab8c97e3..ab8c97e3 100644
--- a/recipes-kernel/linux/linux-fslc-imx/mx8/defconfig
+++ b/recipes-kernel/linux/linux-fslc-imx/mx8-nxp-bsp/defconfig
diff --git a/recipes-kernel/linux/linux-fslc-imx_5.10.bb b/recipes-kernel/linux/linux-fslc-imx_5.10.bb
index 5078efa4..3025840d 100644
--- a/recipes-kernel/linux/linux-fslc-imx_5.10.bb
+++ b/recipes-kernel/linux/linux-fslc-imx_5.10.bb
@@ -87,4 +87,4 @@ LOCALVERSION = "-5.10.52-2.1.0"
87 87
88DEFAULT_PREFERENCE = "1" 88DEFAULT_PREFERENCE = "1"
89 89
90COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 90COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-kernel/linux/linux-fslc-lts/mxs/defconfig b/recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig
index a913c0dd..a913c0dd 100644
--- a/recipes-kernel/linux/linux-fslc-lts/mxs/defconfig
+++ b/recipes-kernel/linux/linux-fslc-lts/mxs-generic-bsp/defconfig
diff --git a/recipes-kernel/linux/linux-fslc-lts_5.10.bb b/recipes-kernel/linux/linux-fslc-lts_5.10.bb
index c3410a59..ab2ee4b7 100644
--- a/recipes-kernel/linux/linux-fslc-lts_5.10.bb
+++ b/recipes-kernel/linux/linux-fslc-lts_5.10.bb
@@ -24,4 +24,4 @@ LINUX_VERSION = "5.10.93"
24KBRANCH = "5.10.x+fslc" 24KBRANCH = "5.10.x+fslc"
25SRCREV = "de6a8455baae279feddb56c99056aa075175cd68" 25SRCREV = "de6a8455baae279feddb56c99056aa075175cd68"
26 26
27COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)" 27COMPATIBLE_MACHINE = "(mxs-generic-bsp|mx5-generic-bsp|mx6-nxp-bsp|vf-generic-bsp|use-mainline-bsp)"
diff --git a/recipes-kernel/linux/linux-fslc/mxs/defconfig b/recipes-kernel/linux/linux-fslc/mxs-generic-bsp/defconfig
index 67e47841..67e47841 100644
--- a/recipes-kernel/linux/linux-fslc/mxs/defconfig
+++ b/recipes-kernel/linux/linux-fslc/mxs-generic-bsp/defconfig
diff --git a/recipes-kernel/linux/linux-fslc_5.15.bb b/recipes-kernel/linux/linux-fslc_5.15.bb
index 1e88adba..40d44b8b 100644
--- a/recipes-kernel/linux/linux-fslc_5.15.bb
+++ b/recipes-kernel/linux/linux-fslc_5.15.bb
@@ -24,4 +24,4 @@ LINUX_VERSION = "5.15.16"
24KBRANCH = "5.15.x+fslc" 24KBRANCH = "5.15.x+fslc"
25SRCREV = "d084d166324389d09f73d8f2e91b989d69432335" 25SRCREV = "d084d166324389d09f73d8f2e91b989d69432335"
26 26
27COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)" 27COMPATIBLE_MACHINE = "(mxs-generic-bsp|mx5-generic-bsp|mx6-nxp-bsp|vf-generic-bsp|use-mainline-bsp)"
diff --git a/recipes-kernel/linux/linux-imx/imx/defconfig b/recipes-kernel/linux/linux-imx/imx-nxp-bsp/defconfig
index 6ca0833e..6ca0833e 100644
--- a/recipes-kernel/linux/linux-imx/imx/defconfig
+++ b/recipes-kernel/linux/linux-imx/imx-nxp-bsp/defconfig
diff --git a/recipes-kernel/linux/linux-imx/mx8/defconfig b/recipes-kernel/linux/linux-imx/mx8-nxp-bsp/defconfig
index 775fd503..775fd503 100644
--- a/recipes-kernel/linux/linux-imx/mx8/defconfig
+++ b/recipes-kernel/linux/linux-imx/mx8-nxp-bsp/defconfig
diff --git a/recipes-kernel/linux/linux-imx_5.10.bb b/recipes-kernel/linux/linux-imx_5.10.bb
index e287fa39..79506b38 100644
--- a/recipes-kernel/linux/linux-imx_5.10.bb
+++ b/recipes-kernel/linux/linux-imx_5.10.bb
@@ -30,4 +30,4 @@ LINUX_VERSION = "5.10.72"
30 30
31DEFAULT_PREFERENCE = "1" 31DEFAULT_PREFERENCE = "1"
32 32
33COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 33COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend
index d76c45d1..8a13d4c1 100644
--- a/recipes-multimedia/alsa/alsa-lib_%.bbappend
+++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend
@@ -6,6 +6,6 @@ IMX_PATCH = " \
6 file://0005-add-ak4458-conf-for-multichannel-support.patch \ 6 file://0005-add-ak4458-conf-for-multichannel-support.patch \
7 file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ 7 file://0006-add-conf-for-iMX-XCVR-sound-card.patch \
8" 8"
9SRC_URI:append:imx = "${IMX_PATCH}" 9SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}"
10 10
11PACKAGE_ARCH:imx = "${MACHINE_SOCARCH}" 11PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb b/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb
index 96b6392d..634508f9 100644
--- a/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb
+++ b/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb
@@ -33,4 +33,4 @@ FILES:${PN} += "${libdir}/alsa-lib/libasound_*.so"
33FILES:${PN}-dbg += "${libdir}/alsa-lib/.debug" 33FILES:${PN}-dbg += "${libdir}/alsa-lib/.debug"
34FILES:${PN}-dev += "${libdir}/alsa-lib/*.la" 34FILES:${PN}-dev += "${libdir}/alsa-lib/*.la"
35 35
36COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 36COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb
index 73d8c429..2d16a3f2 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb
@@ -23,4 +23,4 @@ inherit meson pkgconfig upstream-version-is-even
23FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" 23FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
24FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" 24FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
25 25
26COMPATIBLE_MACHINE = "(imx)" 26COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb
index aec2bb01..c3f4cf25 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb
@@ -1,14 +1,14 @@
1require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc 1require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
2 2
3DEPENDS:append:imxgpu2d = " virtual/libg2d" 3DEPENDS:append:imxgpu2d = " virtual/libg2d"
4DEPENDS:append:mx8 = " libdrm" 4DEPENDS:append:mx8-nxp-bsp = " libdrm"
5 5
6PACKAGECONFIG:append:mx8 = " kms tinycompress" 6PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress"
7 7
8DEFAULT_PREFERENCE = "-1" 8DEFAULT_PREFERENCE = "-1"
9 9
10PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" 10PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}"
11PACKAGE_ARCH:mx8 = "${MACHINE_SOCARCH}" 11PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}"
12 12
13GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https;branch=master" 13GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https;branch=master"
14SRCBRANCH = "MM_04.06.01_2105_L5.10.y" 14SRCBRANCH = "MM_04.06.01_2105_L5.10.y"
@@ -160,4 +160,4 @@ FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs"
160# include fragment shaders 160# include fragment shaders
161FILES:${PN}-opengl += "/usr/share/*.fs" 161FILES:${PN}-opengl += "/usr/share/*.fs"
162 162
163COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 163COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb
index 5dd672bf..d254db0c 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb
@@ -99,4 +99,4 @@ def get_opengl_cmdline_list(switch_name, options, d):
99 99
100CVE_PRODUCT += "gst-plugins-base" 100CVE_PRODUCT += "gst-plugins-base"
101 101
102COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 102COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb
index 050bc6ee..19248583 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb
@@ -74,4 +74,4 @@ EXTRA_OEMESON += " \
74 74
75FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" 75FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
76 76
77COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 77COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb
index 41de1369..ed2da34b 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb
@@ -42,8 +42,8 @@ PACKAGECONFIG:append:imxpxp = " pxp"
42# The 2D blitter sinks require an MXC framebuffer, which 42# The 2D blitter sinks require an MXC framebuffer, which
43# is not available anymore on the i.MX8 (since these SoCs 43# is not available anymore on the i.MX8 (since these SoCs
44# now use KMS instead of the old Linux framebuffer). 44# now use KMS instead of the old Linux framebuffer).
45PACKAGECONFIG:append:mx6 = " imx2dvideosink v4l2" 45PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2"
46PACKAGECONFIG:append:mx7 = " imx2dvideosink" 46PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink"
47 47
48PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" 48PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}"
49PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," 49PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled,"
@@ -59,4 +59,4 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
59# the following line is required to produce one package for each plugin 59# the following line is required to produce one package for each plugin
60PACKAGES_DYNAMIC = "^${PN}-.*" 60PACKAGES_DYNAMIC = "^${PN}-.*"
61 61
62COMPATIBLE_MACHINE = "(mx6dl|mx6q|mx6sl|mx6sx|mx6ul|mx6ull|mx7d|mx8)" 62COMPATIBLE_MACHINE = "(mx6dl-nxp-bsp|mx6q-nxp-bsp|mx6sl-nxp-bsp|mx6sx-nxp-bsp|mx6ul-nxp-bsp|mx6ull-nxp-bsp|mx7d-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb
index 0625fbaa..15c17f4f 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb
@@ -42,4 +42,4 @@ EXTRA_OEMESON += " \
42FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" 42FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
43FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" 43FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"
44 44
45COMPATIBLE_MACHINE = "(imx)" 45COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb
index eaaf078b..4a8d5995 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb
@@ -29,4 +29,4 @@ GIR_MESON_DISABLE_FLAG = "disabled"
29# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well 29# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
30require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc 30require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
31 31
32COMPATIBLE_MACHINE = "(imx)" 32COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb
index c474f9b0..eabf0f44 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb
@@ -79,4 +79,4 @@ CVE_PRODUCT = "gstreamer"
79 79
80PTEST_BUILD_HOST_FILES = "" 80PTEST_BUILD_HOST_FILES = ""
81 81
82COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 82COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb
index b5fb8890..db3badac 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb
@@ -8,8 +8,8 @@ LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1"
8SECTION = "multimedia" 8SECTION = "multimedia"
9 9
10DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" 10DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
11DEPENDS:append:mx6 = " imx-lib" 11DEPENDS:append:mx6-nxp-bsp = " imx-lib"
12DEPENDS:append:mx7 = " imx-lib" 12DEPENDS:append:mx7-nxp-bsp = " imx-lib"
13DEPENDS:append:imxvpu = " imx-vpuwrap libdrm" 13DEPENDS:append:imxvpu = " imx-vpuwrap libdrm"
14 14
15# For backwards compatibility 15# For backwards compatibility
@@ -30,14 +30,14 @@ S = "${WORKDIR}/git"
30 30
31inherit meson pkgconfig use-imx-headers 31inherit meson pkgconfig use-imx-headers
32 32
33PLATFORM:mx6 = "MX6" 33PLATFORM:mx6-nxp-bsp = "MX6"
34PLATFORM:mx6sl = "MX6SL" 34PLATFORM:mx6sl-nxp-bsp = "MX6SL"
35PLATFORM:mx6sx = "MX6SX" 35PLATFORM:mx6sx-nxp-bsp = "MX6SX"
36PLATFORM:mx6ul = "MX6UL" 36PLATFORM:mx6ul-nxp-bsp = "MX6UL"
37PLATFORM:mx6sll = "MX6SLL" 37PLATFORM:mx6sll-nxp-bsp = "MX6SLL"
38PLATFORM:mx7= "MX7D" 38PLATFORM:mx7-nxp-bsp= "MX7D"
39PLATFORM:mx7ulp= "MX7ULP" 39PLATFORM:mx7ulp-nxp-bsp= "MX7ULP"
40PLATFORM:mx8 = "MX8" 40PLATFORM:mx8-nxp-bsp = "MX8"
41 41
42# Todo add a mechanism to map possible build targets 42# Todo add a mechanism to map possible build targets
43EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ 43EXTRA_OEMESON = "-Dplatform=${PLATFORM} \
@@ -49,10 +49,10 @@ PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN
49# Add codec list that the beep plugin run-time depended 49# Add codec list that the beep plugin run-time depended
50BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" 50BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis"
51RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " 51RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux "
52RDEPENDS:${PN}:append:mx8qm = " imx-dsp" 52RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp"
53RDEPENDS:${PN}:append:mx8qxp = " imx-dsp" 53RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp"
54RDEPENDS:${PN}:append:mx8mp = " imx-dsp" 54RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp"
55RDEPENDS:${PN}:append:mx8ulp = " imx-dsp" 55RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp"
56 56
57# overlaysink rely on G2D, 57# overlaysink rely on G2D,
58# cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D 58# cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D
@@ -82,4 +82,4 @@ FILES:${PN}-grecorder = "${bindir}/grecorder-1.0"
82FILES:${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" 82FILES:${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}"
83FILES:${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" 83FILES:${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}"
84 84
85COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 85COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb b/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb
index 46a1b225..cdb5a8ac 100644
--- a/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb
+++ b/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb
@@ -116,4 +116,4 @@ FILES:${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux
116FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" 116FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*"
117 117
118PACKAGE_ARCH = "${MACHINE_ARCH}" 118PACKAGE_ARCH = "${MACHINE_ARCH}"
119COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 119COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb
index fe653c18..f34c466c 100644
--- a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb
+++ b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb
@@ -18,4 +18,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
18INSANE_SKIP:${PN} = "arch dev-so" 18INSANE_SKIP:${PN} = "arch dev-so"
19 19
20FILES:${PN} += "${libdir}/imx-mm/audio-codec ${datadir}/imx-mm" 20FILES:${PN} += "${libdir}/imx-mm/audio-codec ${datadir}/imx-mm"
21COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8mp|mx8ulp)" 21COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8mp-nxp-bsp|mx8ulp-nxp-bsp)"
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb b/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb
index fe650eb1..eb90f17f 100644
--- a/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb
+++ b/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb
@@ -19,8 +19,8 @@ EXTRA_OECONF += " \
19RDEPENDS:${PN} += " imx-dsp-codec-ext" 19RDEPENDS:${PN} += " imx-dsp-codec-ext"
20 20
21HIFI4_BIN ?= "hifi4_imx8qmqxp.bin" 21HIFI4_BIN ?= "hifi4_imx8qmqxp.bin"
22HIFI4_BIN:mx8mp = "hifi4_imx8mp.bin" 22HIFI4_BIN:mx8mp-nxp-bsp = "hifi4_imx8mp.bin"
23HIFI4_BIN:mx8ulp = "hifi4_imx8ulp.bin" 23HIFI4_BIN:mx8ulp-nxp-bsp = "hifi4_imx8ulp.bin"
24 24
25do_install:append () { 25do_install:append () {
26 # Rename DSP Firmware into hifi4.bin and remove unneeded binary 26 # Rename DSP Firmware into hifi4.bin and remove unneeded binary
@@ -42,4 +42,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
42INHIBIT_SYSROOT_STRIP = "1" 42INHIBIT_SYSROOT_STRIP = "1"
43 43
44PACKAGE_ARCH = "${MACHINE_ARCH}" 44PACKAGE_ARCH = "${MACHINE_ARCH}"
45COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8mp|mx8ulp)" 45COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8mp-nxp-bsp|mx8ulp-nxp-bsp)"
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb
index 83aa656f..7bf6d932 100644
--- a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb
+++ b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb
@@ -19,4 +19,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
19 19
20FILES:${PN} += "/unit_tests ${datadir}/imx-mm" 20FILES:${PN} += "/unit_tests ${datadir}/imx-mm"
21 21
22COMPATIBLE_MACHINE = "(mx8)" 22COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb b/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb
index 08cdd162..f8ee180e 100644
--- a/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb
+++ b/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb
@@ -41,4 +41,4 @@ FILES:${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"
41 41
42INHIBIT_SYSROOT_STRIP = "1" 42INHIBIT_SYSROOT_STRIP = "1"
43 43
44COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 44COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb
index 7fc13c58..d1fc1f76 100644
--- a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb
+++ b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb
@@ -15,4 +15,4 @@ INSANE_SKIP:${PN} = "already-stripped"
15 15
16FILES:${PN} += "${datadir}/imx-mm" 16FILES:${PN} += "${datadir}/imx-mm"
17 17
18COMPATIBLE_MACHINE = "(mx8)" 18COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb
index 03702b16..24af9e2b 100644
--- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb
+++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb
@@ -8,7 +8,7 @@ SECTION = "multimedia"
8LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" 8LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa"
9 9
10DEPENDS = "virtual/imxvpu" 10DEPENDS = "virtual/imxvpu"
11DEPENDS:append:mx8mp = " imx-vpu-hantro-vc" 11DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
12 12
13SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" 13SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}"
14 14
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb
index 2b995b60..97b5f116 100644
--- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb
+++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb
@@ -15,10 +15,10 @@ S = "${WORKDIR}/git"
15 15
16inherit waf pkgconfig use-imx-headers 16inherit waf pkgconfig use-imx-headers
17 17
18IMX_PLATFORM:mx6 = "imx6" 18IMX_PLATFORM:mx6-nxp-bsp = "imx6"
19IMX_PLATFORM:mx8mq = "imx8m" 19IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m"
20IMX_PLATFORM:mx8mm = "imx8mm" 20IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm"
21IMX_PLATFORM:mx8mp = "imx8mm" 21IMX_PLATFORM:mx8mp-nxp-bsp = "imx8mm"
22 22
23EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" 23EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}"
24 24
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb
index 778514fb..660eed3e 100644
--- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb
+++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb
@@ -16,6 +16,6 @@ S = "${WORKDIR}/git"
16 16
17inherit waf pkgconfig 17inherit waf pkgconfig
18 18
19COMPATIBLE_MACHINE = "(mx6q|mx6dl)" 19COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)"
20 20
21EXTRA_OECONF = "--libdir=${libdir}" 21EXTRA_OECONF = "--libdir=${libdir}"
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/daemon.conf
index 9eb954bb..9eb954bb 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf
+++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/daemon.conf
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/default.pa
index 83a6ba8d..83a6ba8d 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa
+++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/default.pa
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch
index 57c28741..57c28741 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio/imx/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch
+++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
index ae69be4c..c7a4292e 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
+++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -1,13 +1,13 @@
1 1
2CACHED_CONFIGUREVARS:append:mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" 2CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no"
3 3
4FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/imx:" 4FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/imx-nxp-bsp:"
5 5
6SRC_URI:append:mx6 = " file://daemon.conf file://default.pa" 6SRC_URI:append:mx6-nxp-bsp = " file://daemon.conf file://default.pa"
7SRC_URI:append:mx7 = " file://daemon.conf file://default.pa \ 7SRC_URI:append:mx7-nxp-bsp = " file://daemon.conf file://default.pa \
8 file://pulseaudio-remove-the-control-for-speaker-headphone-widge.patch \ 8 file://pulseaudio-remove-the-control-for-speaker-headphone-widge.patch \
9" 9"
10SRC_URI:append:mx8 = " file://daemon.conf file://default.pa" 10SRC_URI:append:mx8-nxp-bsp = " file://daemon.conf file://default.pa"
11 11
12do_install:append() { 12do_install:append() {
13 if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then 13 if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then
@@ -16,6 +16,6 @@ do_install:append() {
16 fi 16 fi
17} 17}
18 18
19PACKAGE_ARCH:mx6 = "${MACHINE_SOCARCH}" 19PACKAGE_ARCH:mx6-nxp-bsp = "${MACHINE_SOCARCH}"
20PACKAGE_ARCH:mx7 = "${MACHINE_SOCARCH}" 20PACKAGE_ARCH:mx7-nxp-bsp = "${MACHINE_SOCARCH}"
21PACKAGE_ARCH:mx8 = "${MACHINE_SOCARCH}" 21PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}"
diff --git a/recipes-security/optee-imx/optee-client_3.10.0.imx.bb b/recipes-security/optee-imx/optee-client_3.10.0.imx.bb
index 51c75bd1..2f5166d1 100644
--- a/recipes-security/optee-imx/optee-client_3.10.0.imx.bb
+++ b/recipes-security/optee-imx/optee-client_3.10.0.imx.bb
@@ -49,4 +49,4 @@ INSANE_SKIP:${PN} = "ldflags dev-elf"
49INSANE_SKIP:${PN}-dev = "ldflags dev-elf" 49INSANE_SKIP:${PN}-dev = "ldflags dev-elf"
50INSANE_SKIP:tee-supplicant = "ldflags" 50INSANE_SKIP:tee-supplicant = "ldflags"
51 51
52COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 52COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-security/optee-imx/optee-os_3.10.0.imx.bb b/recipes-security/optee-imx/optee-os_3.10.0.imx.bb
index 9b91f25e..7164eadc 100644
--- a/recipes-security/optee-imx/optee-os_3.10.0.imx.bb
+++ b/recipes-security/optee-imx/optee-os_3.10.0.imx.bb
@@ -29,14 +29,14 @@ PLATFORM_FLAVOR:imx6ul7d = "mx6ulevk"
29PLATFORM_FLAVOR:imx6ull14x14evk = "mx6ullevk" 29PLATFORM_FLAVOR:imx6ull14x14evk = "mx6ullevk"
30PLATFORM_FLAVOR:imx6ull9x9evk = "mx6ullevk" 30PLATFORM_FLAVOR:imx6ull9x9evk = "mx6ullevk"
31PLATFORM_FLAVOR:imx6ulz-14x14-evk = "mx6ulzevk" 31PLATFORM_FLAVOR:imx6ulz-14x14-evk = "mx6ulzevk"
32PLATFORM_FLAVOR:mx8mq = "mx8mqevk" 32PLATFORM_FLAVOR:mx8mq-nxp-bsp = "mx8mqevk"
33PLATFORM_FLAVOR:mx8mm = "mx8mmevk" 33PLATFORM_FLAVOR:mx8mm-nxp-bsp = "mx8mmevk"
34PLATFORM_FLAVOR:mx8mn = "mx8mnevk" 34PLATFORM_FLAVOR:mx8mn-nxp-bsp = "mx8mnevk"
35PLATFORM_FLAVOR:mx8mp = "mx8mpevk" 35PLATFORM_FLAVOR:mx8mp-nxp-bsp = "mx8mpevk"
36PLATFORM_FLAVOR:mx8qm = "mx8qmmek" 36PLATFORM_FLAVOR:mx8qm-nxp-bsp = "mx8qmmek"
37PLATFORM_FLAVOR:mx8qxp = "mx8qxpmek" 37PLATFORM_FLAVOR:mx8qxp-nxp-bsp = "mx8qxpmek"
38PLATFORM_FLAVOR:mx8dx = "mx8dxmek" 38PLATFORM_FLAVOR:mx8dx-nxp-bsp = "mx8dxmek"
39PLATFORM_FLAVOR:mx8dxl = "mx8dxlevk" 39PLATFORM_FLAVOR:mx8dxl-nxp-bsp = "mx8dxlevk"
40 40
41OPTEE_ARCH ?= "arm32" 41OPTEE_ARCH ?= "arm32"
42OPTEE_ARCH:armv7a = "arm32" 42OPTEE_ARCH:armv7a = "arm32"
@@ -93,4 +93,4 @@ FILES:${PN}-staticdev = "/usr/include/optee/"
93RDEPENDS:${PN}-dev += "${PN}-staticdev" 93RDEPENDS:${PN}-dev += "${PN}-staticdev"
94 94
95PACKAGE_ARCH = "${MACHINE_ARCH}" 95PACKAGE_ARCH = "${MACHINE_ARCH}"
96COMPATIBLE_MACHINE = "(imx|imx-boot-container)" 96COMPATIBLE_MACHINE = "(imx-nxp-bsp)"
diff --git a/recipes-security/optee-imx/optee-test_3.10.0.imx.bb b/recipes-security/optee-imx/optee-test_3.10.0.imx.bb
index 26339d61..ef540bbc 100644
--- a/recipes-security/optee-imx/optee-test_3.10.0.imx.bb
+++ b/recipes-security/optee-imx/optee-test_3.10.0.imx.bb
@@ -60,4 +60,4 @@ do_install () {
60 60
61FILES:${PN} = "/usr/bin/ /lib*/optee_armtz/" 61FILES:${PN} = "/usr/bin/ /lib*/optee_armtz/"
62 62
63COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 63COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)"
diff --git a/recipes-support/opencv/opencv_4.5.2.imx.bb b/recipes-support/opencv/opencv_4.5.2.imx.bb
index f8824a18..e92d26cb 100644
--- a/recipes-support/opencv/opencv_4.5.2.imx.bb
+++ b/recipes-support/opencv/opencv_4.5.2.imx.bb
@@ -271,12 +271,12 @@ SRC_URI += " \
271" 271"
272 272
273PACKAGECONFIG:remove = "eigen" 273PACKAGECONFIG:remove = "eigen"
274PACKAGECONFIG:append:mx8 = " dnn text" 274PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text"
275PACKAGECONFIG_OPENCL = "" 275PACKAGECONFIG_OPENCL = ""
276PACKAGECONFIG_OPENCL:mx8 = "opencl" 276PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl"
277PACKAGECONFIG_OPENCL:mx8dxl = "" 277PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = ""
278PACKAGECONFIG_OPENCL:mx8mm = "" 278PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = ""
279PACKAGECONFIG_OPENCL:mx8mnlite = "" 279PACKAGECONFIG_OPENCL:mx8mnlite-nxp-bsp = ""
280PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}" 280PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}"
281 281
282PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," 282PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx,"
@@ -296,6 +296,6 @@ do_install:append() {
296 296
297FILES:${PN}-samples += "${datadir}/OpenCV/samples" 297FILES:${PN}-samples += "${datadir}/OpenCV/samples"
298 298
299COMPATIBLE_MACHINE = "(mx8)" 299COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
300 300
301########## End of i.MX overrides ########## 301########## End of i.MX overrides ##########