diff options
Diffstat (limited to 'meta/recipes-bsp/u-boot')
-rw-r--r-- | meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb | 2 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-tools.inc | 38 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-tools_2021.07.bb | 2 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 10 | ||||
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot_2021.07.bb | 2 |
5 files changed, 27 insertions, 27 deletions
diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb b/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb index 488a9df792..ce14bc48aa 100644 --- a/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb +++ b/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb | |||
@@ -21,6 +21,6 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" | |||
21 | 21 | ||
22 | DEPENDS = "zlib" | 22 | DEPENDS = "zlib" |
23 | PROVIDES += "u-boot-fw-utils" | 23 | PROVIDES += "u-boot-fw-utils" |
24 | RPROVIDES_${PN}-bin += "u-boot-fw-utils" | 24 | RPROVIDES:${PN}-bin += "u-boot-fw-utils" |
25 | 25 | ||
26 | BBCLASSEXTEND = "native" | 26 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools.inc b/meta/recipes-bsp/u-boot/u-boot-tools.inc index 4ed936a70d..7eda6a0897 100644 --- a/meta/recipes-bsp/u-boot/u-boot-tools.inc +++ b/meta/recipes-bsp/u-boot/u-boot-tools.inc | |||
@@ -2,25 +2,25 @@ SUMMARY = "U-Boot bootloader tools" | |||
2 | DEPENDS += "openssl" | 2 | DEPENDS += "openssl" |
3 | 3 | ||
4 | PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage" | 4 | PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage" |
5 | PROVIDES_class-native = "u-boot-mkimage-native u-boot-mkenvimage-native" | 5 | PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native" |
6 | 6 | ||
7 | PACKAGES += "${PN}-mkimage ${PN}-mkenvimage" | 7 | PACKAGES += "${PN}-mkimage ${PN}-mkenvimage" |
8 | 8 | ||
9 | # Required for backward compatibility with "u-boot-mkimage-xxx.bb" | 9 | # Required for backward compatibility with "u-boot-mkimage-xxx.bb" |
10 | RPROVIDES_${PN}-mkimage = "u-boot-mkimage" | 10 | RPROVIDES:${PN}-mkimage = "u-boot-mkimage" |
11 | RREPLACES_${PN}-mkimage = "u-boot-mkimage" | 11 | RREPLACES:${PN}-mkimage = "u-boot-mkimage" |
12 | RCONFLICTS_${PN}-mkimage = "u-boot-mkimage" | 12 | RCONFLICTS:${PN}-mkimage = "u-boot-mkimage" |
13 | 13 | ||
14 | EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' | 14 | EXTRA_OEMAKE:class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' |
15 | EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' | 15 | EXTRA_OEMAKE:class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' |
16 | EXTRA_OEMAKE_class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' | 16 | EXTRA_OEMAKE:class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' |
17 | 17 | ||
18 | SED_CONFIG_EFI = '-e "s/CONFIG_EFI_LOADER=.*/# CONFIG_EFI_LOADER is not set/"' | 18 | SED_CONFIG_EFI = '-e "s/CONFIG_EFI_LOADER=.*/# CONFIG_EFI_LOADER is not set/"' |
19 | SED_CONFIG_EFI_x86 = '' | 19 | SED_CONFIG_EFI:x86 = '' |
20 | SED_CONFIG_EFI_x86-64 = '' | 20 | SED_CONFIG_EFI:x86-64 = '' |
21 | SED_CONFIG_EFI_arm = '' | 21 | SED_CONFIG_EFI:arm = '' |
22 | SED_CONFIG_EFI_armeb = '' | 22 | SED_CONFIG_EFI:armeb = '' |
23 | SED_CONFIG_EFI_aarch64 = '' | 23 | SED_CONFIG_EFI:aarch64 = '' |
24 | 24 | ||
25 | do_compile () { | 25 | do_compile () { |
26 | # Yes, this is crazy. If you build on a system with git < 2.14 from scratch, the tree will | 26 | # Yes, this is crazy. If you build on a system with git < 2.14 from scratch, the tree will |
@@ -68,14 +68,14 @@ do_install () { | |||
68 | ln -sf uboot-fit_check_sign ${D}${bindir}/fit_check_sign | 68 | ln -sf uboot-fit_check_sign ${D}${bindir}/fit_check_sign |
69 | } | 69 | } |
70 | 70 | ||
71 | ALLOW_EMPTY_${PN} = "1" | 71 | ALLOW_EMPTY:${PN} = "1" |
72 | FILES_${PN} = "" | 72 | FILES:${PN} = "" |
73 | FILES_${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign" | 73 | FILES:${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign" |
74 | FILES_${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage" | 74 | FILES:${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage" |
75 | 75 | ||
76 | RDEPENDS_${PN}-mkimage += "dtc" | 76 | RDEPENDS:${PN}-mkimage += "dtc" |
77 | RDEPENDS_${PN} += "${PN}-mkimage ${PN}-mkenvimage" | 77 | RDEPENDS:${PN} += "${PN}-mkimage ${PN}-mkenvimage" |
78 | RDEPENDS_${PN}_class-native = "" | 78 | RDEPENDS:${PN}:class-native = "" |
79 | 79 | ||
80 | BBCLASSEXTEND = "native nativesdk" | 80 | BBCLASSEXTEND = "native nativesdk" |
81 | 81 | ||
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2021.07.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2021.07.bb index 4e90081911..d0c0f30a98 100644 --- a/meta/recipes-bsp/u-boot/u-boot-tools_2021.07.bb +++ b/meta/recipes-bsp/u-boot/u-boot-tools_2021.07.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | require u-boot-common.inc | 1 | require u-boot-common.inc |
2 | require u-boot-tools.inc | 2 | require u-boot-tools.inc |
3 | 3 | ||
4 | SRC_URI_append = " file://0001-tools-image-host-fix-wrong-return-value.patch" | 4 | SRC_URI:append = " file://0001-tools-image-host-fix-wrong-return-value.patch" |
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 8ccc532f7e..4340b17cb6 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
@@ -212,15 +212,15 @@ do_install () { | |||
212 | 212 | ||
213 | PACKAGE_BEFORE_PN += "${PN}-env" | 213 | PACKAGE_BEFORE_PN += "${PN}-env" |
214 | 214 | ||
215 | RPROVIDES_${PN}-env += "u-boot-default-env" | 215 | RPROVIDES:${PN}-env += "u-boot-default-env" |
216 | ALLOW_EMPTY_${PN}-env = "1" | 216 | ALLOW_EMPTY:${PN}-env = "1" |
217 | FILES_${PN}-env = " \ | 217 | FILES:${PN}-env = " \ |
218 | ${@ '${sysconfdir}/${UBOOT_INITIAL_ENV}*' if d.getVar('UBOOT_INITIAL_ENV') else ''} \ | 218 | ${@ '${sysconfdir}/${UBOOT_INITIAL_ENV}*' if d.getVar('UBOOT_INITIAL_ENV') else ''} \ |
219 | ${sysconfdir}/fw_env.config \ | 219 | ${sysconfdir}/fw_env.config \ |
220 | " | 220 | " |
221 | 221 | ||
222 | FILES_${PN} = "/boot ${datadir}" | 222 | FILES:${PN} = "/boot ${datadir}" |
223 | RDEPENDS_${PN} += "${PN}-env" | 223 | RDEPENDS:${PN} += "${PN}-env" |
224 | 224 | ||
225 | do_deploy () { | 225 | do_deploy () { |
226 | if [ -n "${UBOOT_CONFIG}" ] | 226 | if [ -n "${UBOOT_CONFIG}" ] |
diff --git a/meta/recipes-bsp/u-boot/u-boot_2021.07.bb b/meta/recipes-bsp/u-boot/u-boot_2021.07.bb index bbbc99bf8d..c8dbe477e0 100644 --- a/meta/recipes-bsp/u-boot/u-boot_2021.07.bb +++ b/meta/recipes-bsp/u-boot/u-boot_2021.07.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require u-boot-common.inc | 1 | require u-boot-common.inc |
2 | require u-boot.inc | 2 | require u-boot.inc |
3 | 3 | ||
4 | SRC_URI_append = " file://0001-riscv32-Use-double-float-ABI-for-rv32.patch" | 4 | SRC_URI:append = " file://0001-riscv32-Use-double-float-ABI-for-rv32.patch" |
5 | 5 | ||
6 | DEPENDS += "bc-native dtc-native python3-setuptools-native" | 6 | DEPENDS += "bc-native dtc-native python3-setuptools-native" |