diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-11-01 15:53:15 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-11-01 15:53:15 -0500 |
commit | de22fe2e10f6c1acdf8e5bddd7834f5d7fc168d7 (patch) | |
tree | 56c6fc3c9a8740eee83ea8d2fc6843b351e2fe4a /recipes-bsp/multitech/mts-io.inc | |
parent | 17546fcb10af43ef4e9aef70ecff341848501278 (diff) | |
download | meta-multitech-atmel-de22fe2e10f6c1acdf8e5bddd7834f5d7fc168d7.tar.gz meta-multitech-atmel-de22fe2e10f6c1acdf8e5bddd7834f5d7fc168d7.tar.bz2 meta-multitech-atmel-de22fe2e10f6c1acdf8e5bddd7834f5d7fc168d7.zip |
mtcap: rename machine type mtp to mtcap
Diffstat (limited to 'recipes-bsp/multitech/mts-io.inc')
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index c9ee889..ca179c8 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -16,7 +16,7 @@ SRC_URI = " \ file://led-status_heartbeat_trigger \ file://lora-led-updater \ file://mts-io.init \ - file://mts-io.mtp.init \ + file://mts-io.mtcap.init \ file://radio-reset.init \ file://radio-reset.default \ " @@ -47,7 +47,7 @@ FILES_${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mts_io.ko" FILES_${PN} += "${sysconfdir}" FILES_${PN} += "${libdir}/mts-io-sysfs*" FILES_${PN} += "${sbindir}/mts-io-sysfs" -FILES_${PN}_append_mtp += "${sbindir}/lora-led-updater" +FILES_${PN}_append_mtcap += "${sbindir}/lora-led-updater" INITSCRIPT_NAME = "mts-io" INITSCRIPT_PARAMS = "start 39 S ." @@ -87,11 +87,11 @@ fakeroot do_install () { install -m 0644 ${WORKDIR}/radio-reset.default ${D}${sysconfdir}/default/radio-reset } -fakeroot do_install_append_mtp() { - # install MTP mts-io init script - install -m 0755 ${WORKDIR}/mts-io.mtp.init ${D}${sysconfdir}/init.d/mts-io +fakeroot do_install_append_mtcap() { + # install MTCAP mts-io init script + install -m 0755 ${WORKDIR}/mts-io.mtcap.init ${D}${sysconfdir}/init.d/mts-io install -m 0755 ${WORKDIR}/lora-led-updater ${D}${sbindir}/lora-led-updater - # disable radio-reset for the mtp hardware + # disable radio-reset for the mtcap hardware sed -i 's/ENABLED="yes"/ENABLED="no"/g' ${D}${sysconfdir}/default/radio-reset } |