summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb (renamed from recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb)0
-rw-r--r--recipes-bsp/multitech/mts-io.inc15
-rw-r--r--recipes-bsp/multitech/mts-io_4.9.3.bb (renamed from recipes-bsp/multitech/mts-io_4.9.2.bb)0
3 files changed, 12 insertions, 3 deletions
diff --git a/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb b/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb
index 12c32c4..12c32c4 100644
--- a/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb
+++ b/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 93b9a10..921214b 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19
file://io-tool/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
do_fetch[depends] += "virtual/kernel:do_shared_workdir"
-INC_PR = "r1"
+INC_PR = "r2"
-SRCREV = "${PV}"
+#SRCREV = "${PV}"
+SRCREV = "9af21ab37a0896f1be90e08880aa6b03dcfb5bb6"
PR = "${INC_PR}.0"
PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}"
@@ -20,7 +21,7 @@ RDEPENDS_${PN}-noarch_append_mtcap = " mts-io-sysfs i2c-tools"
SRC_URI = " \
- git://git.multitech.net/mts-io.git;protocol=git \
+ git://git@gitlab.multitech.net/mirrors/mts-io;protocol=ssh;branch=master \
file://led-status_heartbeat_trigger \
file://lora-led-updater \
file://mts-io.init \
@@ -41,6 +42,8 @@ EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
"
EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS='-D MTRE'"
+EXTRA_OEMAKE_append_mtcap3 = "EXTRA_CFLAGS='-D PLATFORM_BUS_SYMLINK'"
+
do_compile () {
bbnote make "$@"
make "$@"
@@ -65,6 +68,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"
@@ -122,6 +126,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
diff --git a/recipes-bsp/multitech/mts-io_4.9.2.bb b/recipes-bsp/multitech/mts-io_4.9.3.bb
index ee4fcfa..ee4fcfa 100644
--- a/recipes-bsp/multitech/mts-io_4.9.2.bb
+++ b/recipes-bsp/multitech/mts-io_4.9.3.bb