summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/uuu/uuu-bin_1.5.233.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/uuu/uuu-bin_1.5.233.bb')
-rw-r--r--recipes-devtools/uuu/uuu-bin_1.5.233.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-devtools/uuu/uuu-bin_1.5.233.bb b/recipes-devtools/uuu/uuu-bin_1.5.233.bb
new file mode 100644
index 000000000..ec2f40e00
--- /dev/null
+++ b/recipes-devtools/uuu/uuu-bin_1.5.233.bb
@@ -0,0 +1,36 @@
1# Copyright (C) 2022-2023 O.S. Systems Software LTDA.
2# Released under the MIT License (see COPYING.MIT for the terms)
3
4SUMMARY = "Universal Update Utility - Binaries"
5DESCRIPTION = "Image deploy tool for i.MX chips"
6HOMEPAGE = "https://github.com/nxp-imx/mfgtools"
7
8LICENSE = "BSD-3-Clause & LGPL-2.1-or-later"
9LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
10 file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68"
11
12SRC_URI = " \
13 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \
14 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \
15 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \
16 https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu.exe;downloadfilename=uuu-${PV}.exe;name=Windows \
17"
18
19SRC_URI[Linux.sha256sum] = "c609fe6c4d9656102f7e3139a70488ba3988c33332486c89e5fc6d85ccedd96a"
20SRC_URI[Mac_x86.sha256sum] = "cdbacab592661900d46e7f97f9c7dd8a720bf46b1c17f4dbb65adb372f5fc6cf"
21SRC_URI[Mac_arm.sha256sum] = "6f8854946dfbeeb36894baf0f5f555b918974d465f4b541457e65c926fdd6a6a"
22SRC_URI[Windows.sha256sum] = "a3c7241650c05dd6373a6aef086b34322c013103da729c1b446ec86694309939"
23
24inherit allarch
25
26do_install() {
27 install -D -m 0755 ${UNPACKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu
28 install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac_x86 ${D}${libdir}/uuu/uuu_mac_x86
29 install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac_arm ${D}${libdir}/uuu/uuu_mac_arm
30 install -D -m 0644 ${UNPACKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe
31}
32
33# HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle.
34INSANE_SKIP:${PN} += "arch file-rdeps"
35FILES:${PN} = "${libdir}/uuu"
36SYSROOT_DIRS = "${libdir}/uuu"