developer | 0e0b0ce | 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 \ |
developer | e499f14 | 2023-02-13 17:54:38 +0800 | [diff] [blame] | 13 | file://mmc.sh \ |
developer | 0e0b0ce | 2022-07-20 14:30:33 +0800 | [diff] [blame] | 14 | file://sysupgrade \ |
| 15 | file://do_stage2 \ |
| 16 | " |
| 17 | |
| 18 | |
| 19 | |
| 20 | FILES_${PN} += " \ |
| 21 | /lib/upgrade \ |
| 22 | " |
| 23 | |
| 24 | do_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 |
developer | e499f14 | 2023-02-13 17:54:38 +0800 | [diff] [blame] | 28 | install -m 0755 ${WORKDIR}/mmc.sh ${D}/lib/upgrade |
developer | 0e0b0ce | 2022-07-20 14:30:33 +0800 | [diff] [blame] | 29 | install -m 0755 ${WORKDIR}/do_stage2 ${D}/lib/upgrade |
| 30 | install -d ${D}${sbindir} |
| 31 | install -m 0755 ${WORKDIR}/sysupgrade ${D}${sbindir} |
| 32 | } |