diff options
author | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2021-01-24 15:40:29 +0200 |
---|---|---|
committer | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2021-01-24 15:40:29 +0200 |
commit | ed1b818d5825dbac93353862b3de1ffaa3549f71 (patch) | |
tree | c7e0f5088d5bbfe7acce14beaabad5962cb4ab31 /recipes-bsp | |
parent | 0f0df68909afdf7e4f17eb23b9892e36d9b16899 (diff) | |
download | meta-multitech-ed1b818d5825dbac93353862b3de1ffaa3549f71.tar.gz meta-multitech-ed1b818d5825dbac93353862b3de1ffaa3549f71.tar.bz2 meta-multitech-ed1b818d5825dbac93353862b3de1ffaa3549f71.zip |
MTRE support, initial revision
Diffstat (limited to 'recipes-bsp')
-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 |