diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2022-02-11 12:21:35 +0200 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2022-02-11 12:21:35 +0200 |
commit | ca5b64acec460364f1332c2c6d2a67fbb2bbc46a (patch) | |
tree | f83fcb85c1a91d4df6106aa326156e6fad0e9b57 | |
parent | cfcacbc603cae660cee5ed753754cb97b91352c6 (diff) | |
parent | cbefa902189bec3e0fe95f2d295aebc2b2605596 (diff) | |
download | meta-multitech-ca5b64acec460364f1332c2c6d2a67fbb2bbc46a.tar.gz meta-multitech-ca5b64acec460364f1332c2c6d2a67fbb2bbc46a.tar.bz2 meta-multitech-ca5b64acec460364f1332c2c6d2a67fbb2bbc46a.zip |
Merge branch 'md/mtcap3/leds/install_lora_led_updater' into mpower-dev-nxp
See merge request !46
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 2aa38b4..94a52c6 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -64,6 +64,7 @@ FILES_${PN}-noarch = "${sysconfdir}/init.d/mts-io \ FILES_${PN}-noarch_append_mtcap += "${sbindir}/lora-led-updater" +FILES_${PN}-noarch_append_mtcap3 += "${sbindir}/lora-led-updater" FILES_${PN}-util += "${sbindir}/mts-util-lora2-reset" FILES_${PN}-util-dbg += "/usr/src /usr/sbin/.debug" FILES_${PN}-dev += "${includedir}/linux ${includedir}/mts-kernel-headers" @@ -121,6 +122,11 @@ fakeroot do_install_append_mtcap() { install -m 0755 ${WORKDIR}/lora-led-updater ${D}${sbindir}/lora-led-updater } +fakeroot do_install_append_mtcap3() { + install -m 0755 ${WORKDIR}/lora-led-updater ${D}${sbindir}/lora-led-updater + sed -i 's/spidev0.0/spidev1.0/' ${D}${sbindir}/lora-led-updater +} + fakeroot do_install_append_mtre() { # no status led on mtre echo "" > ${D}${sysconfdir}/init.d/led-status_heartbeat_trigger |