blob: 0df86e55f131dc17d7d3a7a00d4211afee8ff7b7 [file] [log] [blame]
developer0e0b0ce2022-07-20 14:30:33 +08001SUMMARY = "firmware upgrade tool"
2SECTION = "applications"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5
6S = "${WORKDIR}"
7
8
9SRC_URI = " \
10 file://COPYING \
11 file://platform.sh \
12 file://nand.sh \
developere499f142023-02-13 17:54:38 +080013 file://mmc.sh \
developer0e0b0ce2022-07-20 14:30:33 +080014 file://sysupgrade \
15 file://do_stage2 \
16 "
17
18
19
20FILES_${PN} += " \
21 /lib/upgrade \
22 "
23
24do_install() {
25 install -d ${D}/lib/upgrade
26 install -m 0755 ${WORKDIR}/platform.sh ${D}/lib/upgrade
27 install -m 0755 ${WORKDIR}/nand.sh ${D}/lib/upgrade
developere499f142023-02-13 17:54:38 +080028 install -m 0755 ${WORKDIR}/mmc.sh ${D}/lib/upgrade
developer0e0b0ce2022-07-20 14:30:33 +080029 install -m 0755 ${WORKDIR}/do_stage2 ${D}/lib/upgrade
30 install -d ${D}${sbindir}
31 install -m 0755 ${WORKDIR}/sysupgrade ${D}${sbindir}
32}