diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2022-02-18 19:43:56 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2022-02-21 20:06:28 -0300 |
| commit | 30f5ce1d2168389295b4813e01898c2fb0f9bab9 (patch) | |
| tree | f6f78dbf8e5eef40510739dc1db79d60f05189fb /recipes-bsp | |
| parent | a3b102a9ed12ea03e72f713ed40968da1776c6d3 (diff) | |
| download | meta-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>
Diffstat (limited to 'recipes-bsp')
32 files changed, 84 insertions, 84 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend index 943313072..4d7661397 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 |
| 2 | FILESEXTRAPATHS:prepend:mx6 := "${THISDIR}/${PN}/imx:" | 2 | FILESEXTRAPATHS:prepend:mx6-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp" |
| 3 | FILESEXTRAPATHS:prepend:mx7 := "${THISDIR}/${PN}/imx:" | 3 | FILESEXTRAPATHS:prepend:mx7-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp" |
| 4 | FILESEXTRAPATHS:prepend:mx8 := "${THISDIR}/${PN}/imx:" | 4 | FILESEXTRAPATHS:prepend:mx8-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp" |
| 5 | FILESEXTRAPATHS:prepend:use-mainline-bsp := "${THISDIR}/${PN}/imx:" | 5 | FILESEXTRAPATHS:prepend:use-mainline-bsp := "${THISDIR}/${PN}/imx-nxp-bsp" |
| 6 | 6 | ||
| 7 | PACKAGE_ARCH:mx6 = "${MACHINE_ARCH}" | 7 | PACKAGE_ARCH:mx6-nxp-bsp = "${MACHINE_ARCH}" |
| 8 | PACKAGE_ARCH:mx7 = "${MACHINE_ARCH}" | 8 | PACKAGE_ARCH:mx7-nxp-bsp = "${MACHINE_ARCH}" |
| 9 | PACKAGE_ARCH:mx8 = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_ARCH}" |
| 10 | PACKAGE_ARCH:use-mainline-bsp = "${MACHINE_ARCH}" | 10 | PACKAGE_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 c511018e9..c511018e9 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 ace734df4..ace734df4 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 6ea16d5be..18ce14d31 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 | ||
| 19 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 19 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 20 | 20 | ||
| 21 | COMPATIBLE_MACHINE = "(mx8)" | 21 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" |
| 22 | COMPATIBLE_MACHINE:mx8m = "(^$)" | 22 | COMPATIBLE_MACHINE:mx8m-nxp-bsp = "(^$)" |
| 23 | COMPATIBLE_MACHINE:mx8x = "(^$)" | 23 | COMPATIBLE_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 a48356ed4..ab53fa227 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 | ||
| 22 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 22 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 23 | 23 | ||
| 24 | COMPATIBLE_MACHINE = "(mx8m|imx-boot-container)" | 24 | COMPATIBLE_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 5628e40ba..5186a1a8b 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 | ||
| 132 | COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" | 132 | COMPATIBLE_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 ded33a070..ded33a070 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 e3b99b7c4..e3b99b7c4 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 e3b99b7c4..e3b99b7c4 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 e3b99b7c4..e3b99b7c4 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 25b18f21e..25b18f21e 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 eedcdc542..91a631c9a 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() { | |||
| 67 | addtask deploy after do_compile | 67 | addtask deploy after do_compile |
| 68 | 68 | ||
| 69 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 69 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 70 | COMPATIBLE_MACHINE = "(mx8|imx-boot-container)" | 70 | COMPATIBLE_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 58bd44f83..a14c314e3 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 | ||
| 16 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
| 17 | 17 | ||
| 18 | COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" | 18 | COMPATIBLE_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 4e210057c..2ecea3e50 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 | ||
| 22 | inherit use-imx-headers | 22 | inherit use-imx-headers |
| 23 | 23 | ||
| 24 | PLATFORM:mx6q = "IMX6Q" | 24 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
| 25 | PLATFORM:mx6dl = "IMX6Q" | 25 | PLATFORM:mx6dl-nxp-bsp = "IMX6Q" |
| 26 | PLATFORM:mx6sl = "IMX6S" | 26 | PLATFORM:mx6sl-nxp-bsp = "IMX6S" |
| 27 | PLATFORM:mx6sll = "IMX6UL" | 27 | PLATFORM:mx6sll-nxp-bsp = "IMX6UL" |
| 28 | PLATFORM:mx6sx = "IMX6S" | 28 | PLATFORM:mx6sx-nxp-bsp = "IMX6S" |
| 29 | PLATFORM:mx6ul = "IMX6UL" | 29 | PLATFORM:mx6ul-nxp-bsp = "IMX6UL" |
| 30 | PLATFORM:mx6ull = "IMX6UL" | 30 | PLATFORM:mx6ull-nxp-bsp = "IMX6UL" |
| 31 | PLATFORM:mx7d = "IMX7" | 31 | PLATFORM:mx7d-nxp-bsp = "IMX7" |
| 32 | PLATFORM:mx7ulp = "IMX7" | 32 | PLATFORM:mx7ulp-nxp-bsp = "IMX7" |
| 33 | PLATFORM:mx8ulp = "IMX8ULP" | 33 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 34 | 34 | ||
| 35 | PARALLEL_MAKE="-j 1" | 35 | PARALLEL_MAKE="-j 1" |
| 36 | EXTRA_OEMAKE = "" | 36 | EXTRA_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 | ||
| 50 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8ulp)" | 50 | COMPATIBLE_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 b332e0799..2b9d420b6 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" | |||
| 10 | inherit use-imx-security-controller-firmware | 10 | inherit use-imx-security-controller-firmware |
| 11 | 11 | ||
| 12 | IMX_EXTRA_FIRMWARE = "firmware-imx-8 imx-sc-firmware imx-seco" | 12 | IMX_EXTRA_FIRMWARE = "firmware-imx-8 imx-sc-firmware imx-seco" |
| 13 | IMX_EXTRA_FIRMWARE:mx8m = "firmware-imx-8m" | 13 | IMX_EXTRA_FIRMWARE:mx8m-nxp-bsp = "firmware-imx-8m" |
| 14 | IMX_EXTRA_FIRMWARE:mx8x = "imx-sc-firmware imx-seco" | 14 | IMX_EXTRA_FIRMWARE:mx8x-nxp-bsp = "imx-sc-firmware imx-seco" |
| 15 | DEPENDS += " \ | 15 | DEPENDS += " \ |
| 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 |
| 22 | DEPENDS += "xxd-native" | 22 | DEPENDS += "xxd-native" |
| 23 | DEPENDS:append:mx8m = " u-boot-mkimage-native dtc-native" | 23 | DEPENDS:append:mx8m-nxp-bsp = " u-boot-mkimage-native dtc-native" |
| 24 | BOOT_NAME = "imx-boot" | 24 | BOOT_NAME = "imx-boot" |
| 25 | PROVIDES = "${BOOT_NAME}" | 25 | PROVIDES = "${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 | ||
| 63 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 63 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
| 64 | BOOT_STAGING:mx8m = "${S}/iMX8M" | 64 | BOOT_STAGING:mx8m-nxp-bsp = "${S}/iMX8M" |
| 65 | BOOT_STAGING:mx8dx = "${S}/iMX8QX" | 65 | BOOT_STAGING:mx8dx-nxp-bsp = "${S}/iMX8QX" |
| 66 | 66 | ||
| 67 | SOC_FAMILY = "INVALID" | 67 | SOC_FAMILY = "INVALID" |
| 68 | SOC_FAMILY:mx8 = "mx8" | 68 | SOC_FAMILY:mx8-nxp-bsp = "mx8" |
| 69 | SOC_FAMILY:mx8m = "mx8m" | 69 | SOC_FAMILY:mx8m-nxp-bsp = "mx8m" |
| 70 | SOC_FAMILY:mx8x = "mx8x" | 70 | SOC_FAMILY:mx8x-nxp-bsp = "mx8x" |
| 71 | 71 | ||
| 72 | REV_OPTION ?= "" | 72 | REV_OPTION ?= "" |
| 73 | REV_OPTION:mx8qxp = \ | 73 | REV_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 | |||
| 201 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 201 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 202 | FILES:${PN} = "/boot" | 202 | FILES:${PN} = "/boot" |
| 203 | 203 | ||
| 204 | COMPATIBLE_MACHINE = "(mx8)" | 204 | COMPATIBLE_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 27f7a2a72..aca10f60a 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 | ||
| 16 | BOARD_TYPE ?= "mek" | 16 | BOARD_TYPE ?= "mek" |
| 17 | SC_FIRMWARE_NAME ?= "INVALID" | 17 | SC_FIRMWARE_NAME ?= "INVALID" |
| 18 | SC_FIRMWARE_NAME:mx8qm = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin" | 18 | SC_FIRMWARE_NAME:mx8qm-nxp-bsp = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin" |
| 19 | SC_FIRMWARE_NAME:mx8qxp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin" | 19 | SC_FIRMWARE_NAME:mx8qxp-nxp-bsp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin" |
| 20 | SC_FIRMWARE_NAME:mx8dxl = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin" | 20 | SC_FIRMWARE_NAME:mx8dxl-nxp-bsp = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin" |
| 21 | SC_FIRMWARE_NAME:mx8dx = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin" | 21 | SC_FIRMWARE_NAME:mx8dx-nxp-bsp = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin" |
| 22 | 22 | ||
| 23 | symlink_name = "scfw_tcm.bin" | 23 | symlink_name = "scfw_tcm.bin" |
| 24 | 24 | ||
| @@ -38,4 +38,4 @@ INHIBIT_PACKAGE_STRIP = "1" | |||
| 38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 39 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 39 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 40 | 40 | ||
| 41 | COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8dxl|mx8dx)" | 41 | COMPATIBLE_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 f8c3c239a..38349f4be 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 | ||
| 24 | COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8dxl|mx8dx)" | 24 | COMPATIBLE_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 bd5739cde..85ff47bce 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 | ||
| 26 | COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8dxl|mx8dx)" | 26 | COMPATIBLE_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 070fbd304..2feb9b3a5 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 | |||
| 7 | ALLOW_EMPTY:${PN} = "1" | 7 | ALLOW_EMPTY:${PN} = "1" |
| 8 | 8 | ||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 10 | COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf50|vf60)" | 10 | COMPATIBLE_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 d33ad18c8..84696e35f 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+" | |||
| 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" | 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" |
| 10 | 10 | ||
| 11 | DEPENDS = "alsa-lib libdrm" | 11 | DEPENDS = "alsa-lib libdrm" |
| 12 | DEPENDS:append:mx6 = " imx-lib" | 12 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" |
| 13 | DEPENDS:append:mx7 = " imx-lib" | 13 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
| 14 | DEPENDS:append:imxvpu = " virtual/imxvpu" | 14 | DEPENDS:append:imxvpu = " virtual/imxvpu" |
| 15 | 15 | ||
| 16 | PE = "1" | 16 | PE = "1" |
| @@ -29,22 +29,22 @@ inherit module-base use-imx-headers | |||
| 29 | INHIBIT_PACKAGE_STRIP = "1" | 29 | INHIBIT_PACKAGE_STRIP = "1" |
| 30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 30 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 31 | 31 | ||
| 32 | PLATFORM:mx6q = "IMX6Q" | 32 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
| 33 | PLATFORM:mx6dl = "IMX6Q" | 33 | PLATFORM:mx6dl-nxp-bsp = "IMX6Q" |
| 34 | PLATFORM:mx6sl = "IMX6SL" | 34 | PLATFORM:mx6sl-nxp-bsp = "IMX6SL" |
| 35 | PLATFORM:mx6sll = "IMX6SL" | 35 | PLATFORM:mx6sll-nxp-bsp = "IMX6SL" |
| 36 | PLATFORM:mx6sx = "IMX6SX" | 36 | PLATFORM:mx6sx-nxp-bsp = "IMX6SX" |
| 37 | PLATFORM:mx6ul = "IMX6UL" | 37 | PLATFORM:mx6ul-nxp-bsp = "IMX6UL" |
| 38 | PLATFORM:mx7d = "IMX7D" | 38 | PLATFORM:mx7d-nxp-bsp = "IMX7D" |
| 39 | PLATFORM:mx7ulp = "IMX7D" | 39 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" |
| 40 | PLATFORM:mx8 = "IMX8" | 40 | PLATFORM:mx8-nxp-bsp = "IMX8" |
| 41 | 41 | ||
| 42 | PARALLEL_MAKE = "-j 1" | 42 | PARALLEL_MAKE = "-j 1" |
| 43 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" | 43 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" |
| 44 | 44 | ||
| 45 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 45 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
| 46 | PACKAGECONFIG:append:imxvpu = " vpu" | 46 | PACKAGECONFIG:append:imxvpu = " vpu" |
| 47 | PACKAGECONFIG:append:mx8m = " swpdm" | 47 | PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm" |
| 48 | 48 | ||
| 49 | PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" | 49 | PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" |
| 50 | PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu" | 50 | PACKAGECONFIG[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 0de2ad85a..3c66088bf 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 | ||
| 19 | FILES:${PN} += "/linuxrc /fat" | 19 | FILES:${PN} += "/linuxrc /fat" |
| 20 | 20 | ||
| 21 | COMPATIBLE_MACHINE = "(imx|use-mainline-bsp)" | 21 | COMPATIBLE_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 2a17d76ff..3dc5d4dbc 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 | ||
| 33 | FILES:${PN} = "/" | 33 | FILES:${PN} = "/" |
| 34 | 34 | ||
| 35 | COMPATIBLE_MACHINE = "(mx8mp)" | 35 | COMPATIBLE_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 d4a486278..6ff888602 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" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" |
| 5 | 5 | ||
| 6 | DEPENDS = "imx-vpu-hantro" | 6 | DEPENDS = "imx-vpu-hantro" |
| 7 | DEPENDS:append:mx8mp = " imx-vpu-hantro-vc" | 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
| 8 | 8 | ||
| 9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
| 10 | ${FSL_MIRROR}/${BP}.tar.gz \ | 10 | ${FSL_MIRROR}/${BP}.tar.gz \ |
| @@ -12,9 +12,9 @@ SRC_URI = " \ | |||
| 12 | SRC_URI[md5sum] = "99e96b2e00516d56a78a95a80851076b" | 12 | SRC_URI[md5sum] = "99e96b2e00516d56a78a95a80851076b" |
| 13 | SRC_URI[sha256sum] = "e7b3d55f72e233179b1b28c03628139b463d1994d140fed3c3e0796c66e917c8" | 13 | SRC_URI[sha256sum] = "e7b3d55f72e233179b1b28c03628139b463d1994d140fed3c3e0796c66e917c8" |
| 14 | 14 | ||
| 15 | PLATFORM:mx8mm = "IMX8MM" | 15 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
| 16 | PLATFORM:mx8mq = "IMX8MQ" | 16 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
| 17 | PLATFORM:mx8mp = "IMX8MP" | 17 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" |
| 18 | 18 | ||
| 19 | EXTRA_OEMAKE = " \ | 19 | EXTRA_OEMAKE = " \ |
| 20 | CROSS_COMPILE="${HOST_PREFIX}" \ | 20 | CROSS_COMPILE="${HOST_PREFIX}" \ |
| @@ -28,4 +28,4 @@ do_install () { | |||
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 30 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 31 | COMPATIBLE_MACHINE = "(mx8mq|mx8mm|mx8mp)" | 31 | COMPATIBLE_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 84c716109..6290c6e55 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 | ||
| 15 | PARALLEL_MAKE="-j 1" | 15 | PARALLEL_MAKE="-j 1" |
| 16 | 16 | ||
| 17 | PLATFORM:mx8mm = "IMX8MM" | 17 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
| 18 | PLATFORM:mx8mq = "IMX8MQ" | 18 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
| 19 | PLATFORM:mx8mp = "IMX8MP" | 19 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" |
| 20 | 20 | ||
| 21 | EXTRA_OEMAKE = " \ | 21 | EXTRA_OEMAKE = " \ |
| 22 | CROSS_COMPILE="${HOST_PREFIX}" \ | 22 | CROSS_COMPILE="${HOST_PREFIX}" \ |
| @@ -32,4 +32,4 @@ FILES:${PN} += "/unit_tests" | |||
| 32 | 32 | ||
| 33 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | 33 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" |
| 34 | 34 | ||
| 35 | COMPATIBLE_MACHINE = "(mx8mq|mx8mm|mx8mp)" | 35 | COMPATIBLE_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 95252dae4..77c81f193 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 |
| 32 | COMPATIBLE_MACHINE = "(mx6q|mx6dl)" | 32 | COMPATIBLE_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 e7c8a326e..5b53068cf 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" | |||
| 24 | FILES:${PN} = "${libdir} /opt" | 24 | FILES:${PN} = "${libdir} /opt" |
| 25 | INSANE_SKIP:${PN} = "file-rdeps already-stripped" | 25 | INSANE_SKIP:${PN} = "file-rdeps already-stripped" |
| 26 | 26 | ||
| 27 | COMPATIBLE_MACHINE = "(mx8mp)" | 27 | COMPATIBLE_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 4411c351a..64fe3bf10 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 | ||
| 89 | RDEPENDS:${PN} = "libdrm libpython3" | 89 | RDEPENDS:${PN} = "libdrm libpython3" |
| 90 | 90 | ||
| 91 | COMPATIBLE_MACHINE = "(mx8mp)" | 91 | COMPATIBLE_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 38481b540..dbf544402 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.0.1.bb | |||
| @@ -32,9 +32,9 @@ PACKAGECONFIG ?= " " | |||
| 32 | PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" | 32 | PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" |
| 33 | PACKAGECONFIG:append:imxipu = " ipu" | 33 | PACKAGECONFIG:append:imxipu = " ipu" |
| 34 | PACKAGECONFIG:append:imxpxp = " pxp" | 34 | PACKAGECONFIG:append:imxpxp = " pxp" |
| 35 | PACKAGECONFIG:append:mx8m = " ion dwl" | 35 | PACKAGECONFIG:append:mx8m-nxp-bsp = " ion dwl" |
| 36 | PACKAGECONFIG:append:mx8qm = " ion" | 36 | PACKAGECONFIG:append:mx8qm-nxp-bsp = " ion" |
| 37 | PACKAGECONFIG:append:mx8qxp = " ion" | 37 | PACKAGECONFIG:append:mx8qxp-nxp-bsp = " ion" |
| 38 | 38 | ||
| 39 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" | 39 | HANTRO_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 | ||
| 54 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 54 | COMPATIBLE_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 a3a732ef3..07f2c9692 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 | ||
| 30 | COMPATIBLE_MACHINE:class-target = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)" | 30 | COMPATIBLE_MACHINE:class-target = "(mxs-generic-bsp|mx5-generic-bsp|mx6-nxp-bsp|mx7-nxp-bsp|vf-generic-bsp|use-mainline-bsp)" |
| 31 | 31 | ||
| 32 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "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 21989ae53..6f9a251b8 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 |
| 17 | BOOT_TOOLS = "imx-boot-tools" | 17 | BOOT_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 | ||
| 30 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 30 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 31 | COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx7|vf|use-mainline-bsp)" | 31 | COMPATIBLE_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 5443ceacf..500b2de07 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 | |||
| 8 | require u-boot-mfgtool.inc | 8 | require u-boot-mfgtool.inc |
| 9 | 9 | ||
| 10 | UUU_BOOTLOADER_TAGGED = "" | 10 | UUU_BOOTLOADER_TAGGED = "" |
| 11 | UUU_BOOTLOADER_TAGGED:mx6 = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}" | 11 | UUU_BOOTLOADER_TAGGED:mx6-nxp-bsp = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}" |
| 12 | UUU_BOOTLOADER_TAGGED:mx7 = "u-boot-mfgtool-tagged.${UBOOT_SUFFIX}" | 12 | UUU_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 96552eef9..8d790db87 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" | |||
| 10 | inherit uuu_bootloader_tag | 10 | inherit uuu_bootloader_tag |
| 11 | 11 | ||
| 12 | UUU_BOOTLOADER = "" | 12 | UUU_BOOTLOADER = "" |
| 13 | UUU_BOOTLOADER:mx6 = "${UBOOT_BINARY}" | 13 | UUU_BOOTLOADER:mx6-nxp-bsp = "${UBOOT_BINARY}" |
| 14 | UUU_BOOTLOADER:mx7 = "${UBOOT_BINARY}" | 14 | UUU_BOOTLOADER:mx7-nxp-bsp = "${UBOOT_BINARY}" |
| 15 | UUU_BOOTLOADER_TAGGED = "" | 15 | UUU_BOOTLOADER_TAGGED = "" |
| 16 | UUU_BOOTLOADER_TAGGED:mx6 = "u-boot-tagged.${UBOOT_SUFFIX}" | 16 | UUU_BOOTLOADER_TAGGED:mx6-nxp-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" |
| 17 | UUU_BOOTLOADER_TAGGED:mx7 = "u-boot-tagged.${UBOOT_SUFFIX}" | 17 | UUU_BOOTLOADER_TAGGED:mx7-nxp-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" |
| 18 | 18 | ||
| 19 | do_deploy:append:mx8m() { | 19 | do_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 | ||
| 40 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 40 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 41 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8|use-mainline-bsp)" | 41 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp|use-mainline-bsp)" |
