summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-mkimage/imx-boot_1.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-02 11:01:05 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-12 10:08:24 -0700
commit59d36c9832702989bfcca8a5af29fb2dff01efcc (patch)
treeb2b07d98cb22bc5241cde7403b6a15d99821318e /recipes-bsp/imx-mkimage/imx-boot_1.0.bb
parent72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff)
downloadmeta-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.bb22
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"
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 = "firmware-imx-8m"
14IMX_EXTRA_FIRMWARE_mx8x = "imx-sc-firmware imx-seco" 14IMX_EXTRA_FIRMWARE:mx8x = "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 = " u-boot-mkimage-native dtc-native"
24BOOT_NAME = "imx-boot" 24BOOT_NAME = "imx-boot"
25PROVIDES = "${BOOT_NAME}" 25PROVIDES = "${BOOT_NAME}"
26 26
@@ -41,7 +41,7 @@ do_compile[depends] += " \
41SC_FIRMWARE_NAME ?= "scfw_tcm.bin" 41SC_FIRMWARE_NAME ?= "scfw_tcm.bin"
42 42
43ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" 43ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin"
44ATF_MACHINE_NAME_append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" 44ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}"
45 45
46UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}" 46UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
47BOOT_CONFIG_MACHINE = "${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG}.bin" 47BOOT_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
60BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" 60BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}"
61BOOT_STAGING_mx8m = "${S}/iMX8M" 61BOOT_STAGING:mx8m = "${S}/iMX8M"
62BOOT_STAGING_mx8dx = "${S}/iMX8QX" 62BOOT_STAGING:mx8dx = "${S}/iMX8QX"
63 63
64SOC_FAMILY = "INVALID" 64SOC_FAMILY = "INVALID"
65SOC_FAMILY_mx8 = "mx8" 65SOC_FAMILY:mx8 = "mx8"
66SOC_FAMILY_mx8m = "mx8m" 66SOC_FAMILY:mx8m = "mx8m"
67SOC_FAMILY_mx8x = "mx8x" 67SOC_FAMILY:mx8x = "mx8x"
68 68
69REV_OPTION ?= "" 69REV_OPTION ?= ""
70REV_OPTION_mx8qxp = \ 70REV_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() {
199addtask deploy before do_build after do_compile 199addtask deploy before do_build after do_compile
200 200
201PACKAGE_ARCH = "${MACHINE_ARCH}" 201PACKAGE_ARCH = "${MACHINE_ARCH}"
202FILES_${PN} = "/boot" 202FILES:${PN} = "/boot"
203 203
204COMPATIBLE_MACHINE = "(mx8)" 204COMPATIBLE_MACHINE = "(mx8)"