diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-08-02 11:01:05 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-12 10:08:24 -0700 |
commit | 59d36c9832702989bfcca8a5af29fb2dff01efcc (patch) | |
tree | b2b07d98cb22bc5241cde7403b6a15d99821318e /recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |
parent | 72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff) | |
download | meta-freescale-59d36c9832702989bfcca8a5af29fb2dff01efcc.tar.gz |
layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-bsp/imx-mkimage/imx-boot_1.0.bb')
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 422670be..1425c5a3 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 = "firmware-imx-8m" |
14 | IMX_EXTRA_FIRMWARE_mx8x = "imx-sc-firmware imx-seco" | 14 | IMX_EXTRA_FIRMWARE:mx8x = "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 = " 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 | ||
@@ -41,7 +41,7 @@ do_compile[depends] += " \ | |||
41 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" | 41 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" |
42 | 42 | ||
43 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" | 43 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" |
44 | ATF_MACHINE_NAME_append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 44 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
45 | 45 | ||
46 | UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" | 46 | UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" |
47 | BOOT_CONFIG_MACHINE = "${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG}.bin" | 47 | BOOT_CONFIG_MACHINE = "${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG}.bin" |
@@ -58,16 +58,16 @@ IMXBOOT_TARGETS ?= \ | |||
58 | 'flash_multi_cores flash_dcd', d), d)}" | 58 | 'flash_multi_cores flash_dcd', d), d)}" |
59 | 59 | ||
60 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 60 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
61 | BOOT_STAGING_mx8m = "${S}/iMX8M" | 61 | BOOT_STAGING:mx8m = "${S}/iMX8M" |
62 | BOOT_STAGING_mx8dx = "${S}/iMX8QX" | 62 | BOOT_STAGING:mx8dx = "${S}/iMX8QX" |
63 | 63 | ||
64 | SOC_FAMILY = "INVALID" | 64 | SOC_FAMILY = "INVALID" |
65 | SOC_FAMILY_mx8 = "mx8" | 65 | SOC_FAMILY:mx8 = "mx8" |
66 | SOC_FAMILY_mx8m = "mx8m" | 66 | SOC_FAMILY:mx8m = "mx8m" |
67 | SOC_FAMILY_mx8x = "mx8x" | 67 | SOC_FAMILY:mx8x = "mx8x" |
68 | 68 | ||
69 | REV_OPTION ?= "" | 69 | REV_OPTION ?= "" |
70 | REV_OPTION_mx8qxp = \ | 70 | REV_OPTION:mx8qxp = \ |
71 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', '', \ | 71 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', '', \ |
72 | 'REV=C0', d)}" | 72 | 'REV=C0', d)}" |
73 | 73 | ||
@@ -199,6 +199,6 @@ do_deploy() { | |||
199 | addtask deploy before do_build after do_compile | 199 | addtask deploy before do_build after do_compile |
200 | 200 | ||
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)" |