diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-11-25 18:22:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-27 13:25:18 +0000 |
commit | 16a39715d9d07cf847d433f5a3c14c7374ea5a6e (patch) | |
tree | 6582e199888f79004fb4547048b26c63155d0411 /meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb | |
parent | 195adf311d4e0e32ce8eb6c599e851d2292fa18f (diff) | |
download | poky-16a39715d9d07cf847d433f5a3c14c7374ea5a6e.tar.gz |
u-boot: update to 2020.01-rc3 pre-release and drop py2 dependencies
(From OE-Core rev: 8c164bb34b777db2cc3ed723d8397ce6fa040aac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb new file mode 100644 index 0000000000..04321b7b66 --- /dev/null +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | require u-boot-common.inc | ||
2 | |||
3 | SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" | ||
4 | DEPENDS += "mtd-utils" | ||
5 | |||
6 | SRC_URI += "file://0001-include-env.h-Ensure-ulong-is-defined.patch" | ||
7 | |||
8 | INSANE_SKIP_${PN} = "already-stripped" | ||
9 | EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1' | ||
10 | EXTRA_OEMAKE_class-cross = 'HOSTCC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' | ||
11 | |||
12 | inherit uboot-config | ||
13 | |||
14 | do_compile () { | ||
15 | oe_runmake ${UBOOT_MACHINE} | ||
16 | oe_runmake envtools | ||
17 | } | ||
18 | |||
19 | do_install () { | ||
20 | install -d ${D}${base_sbindir} | ||
21 | install -d ${D}${sysconfdir} | ||
22 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv | ||
23 | install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv | ||
24 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config | ||
25 | } | ||
26 | |||
27 | do_install_class-cross () { | ||
28 | install -d ${D}${bindir_cross} | ||
29 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv | ||
30 | install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv | ||
31 | } | ||
32 | |||
33 | SYSROOT_DIRS_append_class-cross = " ${bindir_cross}" | ||
34 | |||
35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
36 | BBCLASSEXTEND = "cross" | ||