diff options
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index b81e7f0..b5ce646 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 = "r3" +INC_PR = "r4" -SRCREV = "${PV}" +#SRCREV = "${PV}" +SRCREV = "9b99510b47c2dd72af07dea3c75979a2bac0ac26" PR = "${INC_PR}.0-${KERNEL_MODULE_PACKAGE_SUFFIX}" # Some package needs to provide mts-io @@ -19,7 +20,7 @@ RDEPENDS_${PN}-noarch_append_mtcap = " mts-io-sysfs i2c-tools" # git://git.multitech.net/mts-io.git;protocol=git SRC_URI = " \ - git://git@gitlab.multitech.net/mirrors/mts-io;protocol=ssh \ + 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 \ @@ -38,6 +39,7 @@ EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ M=${S}/io-module \ modules \ " +EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS='-D MTRE'" do_compile () { bbnote make "$@" @@ -114,3 +116,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 |