developer | 707745c | 2022-07-20 14:30:33 +0800 | [diff] [blame] | 1 | SUMMARY = "firmware upgrade tool" |
| 2 | SECTION = "applications" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 5 | |
| 6 | S = "${WORKDIR}" |
| 7 | |
| 8 | |
| 9 | SRC_URI = " \ |
| 10 | file://COPYING \ |
| 11 | file://platform.sh \ |
| 12 | file://nand.sh \ |
| 13 | file://sysupgrade \ |
| 14 | file://do_stage2 \ |
| 15 | " |
| 16 | |
| 17 | |
| 18 | |
| 19 | FILES_${PN} += " \ |
| 20 | /lib/upgrade \ |
| 21 | " |
| 22 | |
| 23 | do_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 | } |