blob: 7bed810c3d53daf6f518ec0c98162e760b72e450 [file] [log] [blame]
developer707745c2022-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 \
13 file://sysupgrade \
14 file://do_stage2 \
15 "
16
17
18
19FILES_${PN} += " \
20 /lib/upgrade \
21 "
22
23do_install() {
24 install -d ${D}/lib/upgrade
25 install -m 0755 ${WORKDIR}/platform.sh ${D}/lib/upgrade
26 install -m 0755 ${WORKDIR}/nand.sh ${D}/lib/upgrade
27 install -m 0755 ${WORKDIR}/do_stage2 ${D}/lib/upgrade
28 install -d ${D}${sbindir}
29 install -m 0755 ${WORKDIR}/sysupgrade ${D}${sbindir}
30}