summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io.inc
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2021-03-14 11:49:42 +0200
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-03-14 15:40:10 +0200
commitdfc9a0c9ec8d19c2b0eee9c8ccaff5cc75bbc4c3 (patch)
treef085edb5f8d060c57df05a79cd1d49a6ed5c0474 /recipes-bsp/multitech/mts-io.inc
parent9ae801a1a01a670aa0ac920182ac86ba0b9ca6bb (diff)
parent2db22892e9cff59797cc48d9068d18f53ec57fba (diff)
downloadmeta-multitech-dfc9a0c9ec8d19c2b0eee9c8ccaff5cc75bbc4c3.tar.gz
meta-multitech-dfc9a0c9ec8d19c2b0eee9c8ccaff5cc75bbc4c3.tar.bz2
meta-multitech-dfc9a0c9ec8d19c2b0eee9c8ccaff5cc75bbc4c3.zip
Merge branch 'mtre-thud' into mtre-dunfell
Diffstat (limited to 'recipes-bsp/multitech/mts-io.inc')
-rw-r--r--recipes-bsp/multitech/mts-io.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 1aa6f02..2800c2b 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19
do_fetch[depends] += "virtual/kernel:do_shared_workdir"
INC_PR = "r4"
-SRCREV = "${PV}"
+#SRCREV = "${PV}"
+SRCREV = "ee3586431bed0be0cfeba3b906b0f7d32d89e211"
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"
# git://git.multitech.net/mts-io.git;protocol=git
SRC_URI = " \
- git://git.multitech.net/mts-io.git;protocol=git;branch=master \
+ git://git@gitlab.multitech.net/mirrors/mts-io;protocol=ssh;branch=mtre \
file://led-status_heartbeat_trigger \
file://lora-led-updater \
file://mts-io.init \
@@ -39,6 +40,7 @@ EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
M=${S}/io-module \
modules \
"
+EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS='-D MTRE'"
do_compile () {
bbnote make "$@"
@@ -117,3 +119,8 @@ fakeroot do_install_append_mtcap() {
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
}
+
+fakeroot do_install_append_mtre() {
+ # no status led on mtre
+ echo "" > ${D}${sysconfdir}/init.d/led-status_heartbeat_trigger
+} \ No newline at end of file