summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/u-boot')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-fw-utils_2020.01.bb38
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 @@
1require u-boot-common.inc
2
3SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
4DEPENDS += "mtd-utils"
5
6SRC_URI += "file://0001-include-env.h-Ensure-ulong-is-defined.patch \
7 file://0002-include-fix-ulong-definition-on-musl-targets.patch \
8 "
9
10INSANE_SKIP_${PN} = "already-stripped"
11EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1'
12EXTRA_OEMAKE_class-cross = 'HOSTCC="${CC} ${CFLAGS} ${LDFLAGS}" V=1'
13
14inherit uboot-config
15
16do_compile () {
17 oe_runmake -C ${S} ${UBOOT_MACHINE} O=${B}
18 oe_runmake -C ${S} envtools O=${B}
19}
20
21do_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
29do_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
35SYSROOT_DIRS_append_class-cross = " ${bindir_cross}"
36
37PACKAGE_ARCH = "${MACHINE_ARCH}"
38BBCLASSEXTEND = "cross"