diff options
Diffstat (limited to 'meta/recipes-bsp/u-boot')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb | 38 |
1 files changed, 0 insertions, 38 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 deleted file mode 100644 index 5d9b300ae2..0000000000 --- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
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 | file://0002-include-fix-ulong-definition-on-musl-targets.patch \ | ||
8 | " | ||
9 | |||
10 | INSANE_SKIP_${PN} = "already-stripped" | ||
11 | EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1' | ||
12 | EXTRA_OEMAKE_class-cross = 'HOSTCC="${CC} ${CFLAGS} ${LDFLAGS}" V=1' | ||
13 | |||
14 | inherit uboot-config | ||
15 | |||
16 | do_compile () { | ||
17 | oe_runmake -C ${S} ${UBOOT_MACHINE} O=${B} | ||
18 | oe_runmake -C ${S} envtools O=${B} | ||
19 | } | ||
20 | |||
21 | do_install () { | ||
22 | install -d ${D}${base_sbindir} | ||
23 | install -d ${D}${sysconfdir} | ||
24 | install -m 755 ${B}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv | ||
25 | install -m 755 ${B}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv | ||
26 | install -m 0644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config | ||
27 | } | ||
28 | |||
29 | do_install_class-cross () { | ||
30 | install -d ${D}${bindir_cross} | ||
31 | install -m 755 ${B}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv | ||
32 | install -m 755 ${B}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv | ||
33 | } | ||
34 | |||
35 | SYSROOT_DIRS_append_class-cross = " ${bindir_cross}" | ||
36 | |||
37 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
38 | BBCLASSEXTEND = "cross" | ||