aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/lt9611uxc-upgrade/lt9611uxc-upgrade.bb
blob: e6ae2713f7ff43e1bc8d6eb12f79be78cbe9ddad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUMMARY = "Upgrade Lontium LT9611UXC firmware to the latest image"

SRC_URI = "file://lt9611uxc.service file://lt9611uxc-upgrade.sh"
LICENSE = "MIT"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

inherit systemd

RDEPENDS_${PN} += "linux-firmware-lt9611uxc"

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${WORKDIR}/lt9611uxc-upgrade.sh ${D}${bindir}
    install -d ${D}${systemd_system_unitdir}
    install -m 0644 ${WORKDIR}/lt9611uxc.service ${D}${systemd_system_unitdir}
}

SYSTEMD_SERVICE_${PN} = "lt9611uxc.service"