From 176e7522982cbd0156ea342886d3bdb8835170e4 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Tue, 7 Dec 2021 17:19:43 +0200 Subject: MTCAP3: Update mts-io to include the changes for RevA support In particular - fixed LED assignment. --- recipes-bsp/multitech/mts-io_4.7.2.bb | 2 -- recipes-bsp/multitech/mts-io_4.8.1.bb | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-io_4.7.2.bb create mode 100644 recipes-bsp/multitech/mts-io_4.8.1.bb diff --git a/recipes-bsp/multitech/mts-io_4.7.2.bb b/recipes-bsp/multitech/mts-io_4.7.2.bb deleted file mode 100644 index ee4fcfa..0000000 --- a/recipes-bsp/multitech/mts-io_4.7.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -require mts-io.inc - diff --git a/recipes-bsp/multitech/mts-io_4.8.1.bb b/recipes-bsp/multitech/mts-io_4.8.1.bb new file mode 100644 index 0000000..ee4fcfa --- /dev/null +++ b/recipes-bsp/multitech/mts-io_4.8.1.bb @@ -0,0 +1,2 @@ +require mts-io.inc + -- cgit v1.2.3 From 6af3971865dc56de9e6add309bac82cea4dd878e Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Mon, 13 Dec 2021 15:32:46 -0600 Subject: Updated mts-io-sysfs tag --- recipes-bsp/multitech/mts-io-sysfs_0.1.17.bb | 49 ---------------------------- recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb | 49 ++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.1.17.bb create mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.1.17.bb b/recipes-bsp/multitech/mts-io-sysfs_0.1.17.bb deleted file mode 100644 index 23c8963..0000000 --- a/recipes-bsp/multitech/mts-io-sysfs_0.1.17.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "mts-io sysfs wrapper" -HOMEPAGE = "http://www.multitech.net/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -inherit update-rc.d - -DEPENDS = "libmts" -RDEPENDS_${PN} = "bash" -PR = "r1" - -SRCREV = "${PV}" - -SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-io-sysfs;protocol=ssh;branch=master \ - file://mts-io-sysfs.init" - -S = "${WORKDIR}/git" - -do_configure_append() { -} - -do_compile() { - oe_runmake -} - - -fakeroot do_install() { - install -d ${D}${sbindir} - install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs - install -d 0755 ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config -} - - -INITSCRIPT_NAME = "eeprom-config" -# Must start after MTS-IO to read the accessory cards. -INITSCRIPT_PARAMS = "start 40 S ." - - -PACKAGES = "${PN}" - -FILES_${PN} += "${libdir}/mts-io-sysfs*" -FILES_${PN} += "${sbindir}/mts-io-sysfs" - -# disable this on purpose for dev purposes -do_rm_work() { - echo "skipping" -} diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb b/recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb new file mode 100644 index 0000000..acdc0e1 --- /dev/null +++ b/recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "mts-io sysfs wrapper" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +inherit update-rc.d + +DEPENDS = "libmts openssl" +RDEPENDS_${PN} = "bash" +PR = "r1" + +SRCREV = "${PV}" + +SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-io-sysfs;protocol=ssh;branch=master \ + file://mts-io-sysfs.init" + +S = "${WORKDIR}/git" + +do_configure_append() { +} + +do_compile() { + oe_runmake +} + + +fakeroot do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs + install -d 0755 ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config +} + + +INITSCRIPT_NAME = "eeprom-config" +# Must start after MTS-IO to read the accessory cards. +INITSCRIPT_PARAMS = "start 40 S ." + + +PACKAGES = "${PN}" + +FILES_${PN} += "${libdir}/mts-io-sysfs*" +FILES_${PN} += "${sbindir}/mts-io-sysfs" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} -- cgit v1.2.3 From 3e5db73c1d9eff88d1ff1e8cf68b1952037788b8 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Thu, 16 Dec 2021 14:11:52 -0600 Subject: Updated mts-io-sysfs tag --- recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb | 49 ---------------------------- recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb | 49 ++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb create mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb b/recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb deleted file mode 100644 index acdc0e1..0000000 --- a/recipes-bsp/multitech/mts-io-sysfs_0.1.21.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "mts-io sysfs wrapper" -HOMEPAGE = "http://www.multitech.net/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -inherit update-rc.d - -DEPENDS = "libmts openssl" -RDEPENDS_${PN} = "bash" -PR = "r1" - -SRCREV = "${PV}" - -SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-io-sysfs;protocol=ssh;branch=master \ - file://mts-io-sysfs.init" - -S = "${WORKDIR}/git" - -do_configure_append() { -} - -do_compile() { - oe_runmake -} - - -fakeroot do_install() { - install -d ${D}${sbindir} - install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs - install -d 0755 ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config -} - - -INITSCRIPT_NAME = "eeprom-config" -# Must start after MTS-IO to read the accessory cards. -INITSCRIPT_PARAMS = "start 40 S ." - - -PACKAGES = "${PN}" - -FILES_${PN} += "${libdir}/mts-io-sysfs*" -FILES_${PN} += "${sbindir}/mts-io-sysfs" - -# disable this on purpose for dev purposes -do_rm_work() { - echo "skipping" -} diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb b/recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb new file mode 100644 index 0000000..acdc0e1 --- /dev/null +++ b/recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "mts-io sysfs wrapper" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +inherit update-rc.d + +DEPENDS = "libmts openssl" +RDEPENDS_${PN} = "bash" +PR = "r1" + +SRCREV = "${PV}" + +SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-io-sysfs;protocol=ssh;branch=master \ + file://mts-io-sysfs.init" + +S = "${WORKDIR}/git" + +do_configure_append() { +} + +do_compile() { + oe_runmake +} + + +fakeroot do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs + install -d 0755 ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config +} + + +INITSCRIPT_NAME = "eeprom-config" +# Must start after MTS-IO to read the accessory cards. +INITSCRIPT_PARAMS = "start 40 S ." + + +PACKAGES = "${PN}" + +FILES_${PN} += "${libdir}/mts-io-sysfs*" +FILES_${PN} += "${sbindir}/mts-io-sysfs" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} -- cgit v1.2.3 From 03efeb514d6845cbc786b3ca2329c2e3b0338743 Mon Sep 17 00:00:00 2001 From: Andrii Pientsov Date: Fri, 28 Jan 2022 08:59:57 +0200 Subject: MTX-4356 mPower R.6.0.x: MTCAP3 - GP-1352, PP-477 : need --capa-lora-lbt for MTCAP3 in mts-id-eeprom --- recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb | 3 --- recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb | 3 +++ recipes-bsp/multitech/mts-io.inc | 2 +- recipes-bsp/multitech/mts-io_4.8.3.bb | 2 -- recipes-bsp/multitech/mts-io_4.9.0.bb | 2 ++ 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb create mode 100644 recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb delete mode 100644 recipes-bsp/multitech/mts-io_4.8.3.bb create mode 100644 recipes-bsp/multitech/mts-io_4.9.0.bb diff --git a/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb b/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb deleted file mode 100644 index 12c32c4..0000000 --- a/recipes-bsp/multitech/mts-id-eeprom_0.6.3.bb +++ /dev/null @@ -1,3 +0,0 @@ -require mts-id-eeprom.inc - -PR = "${INC_PR}.1" diff --git a/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb b/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb new file mode 100644 index 0000000..12c32c4 --- /dev/null +++ b/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb @@ -0,0 +1,3 @@ +require mts-id-eeprom.inc + +PR = "${INC_PR}.1" diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index d810d32..2aa38b4 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -19,7 +19,7 @@ RDEPENDS_${PN}-noarch_append = " mts-io-sysfs" 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 \ diff --git a/recipes-bsp/multitech/mts-io_4.8.3.bb b/recipes-bsp/multitech/mts-io_4.8.3.bb deleted file mode 100644 index ee4fcfa..0000000 --- a/recipes-bsp/multitech/mts-io_4.8.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -require mts-io.inc - diff --git a/recipes-bsp/multitech/mts-io_4.9.0.bb b/recipes-bsp/multitech/mts-io_4.9.0.bb new file mode 100644 index 0000000..ee4fcfa --- /dev/null +++ b/recipes-bsp/multitech/mts-io_4.9.0.bb @@ -0,0 +1,2 @@ +require mts-io.inc + -- cgit v1.2.3 From cbefa902189bec3e0fe95f2d295aebc2b2605596 Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Fri, 11 Feb 2022 12:12:06 +0200 Subject: mtcap3: install lora_led_updater script --- recipes-bsp/multitech/mts-io.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 2aa38b4..94a52c6 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -64,6 +64,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" @@ -121,6 +122,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 -- cgit v1.2.3 From 2520d71bd073f0b8a11dc3b4351f618d69961909 Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Thu, 17 Feb 2022 18:44:05 +0200 Subject: mtcap3: temporaly move ot mts-io 4.8.9 till new mts-io is ready to be used on mtcap3 --- recipes-bsp/multitech/mts-io_4.8.9.bb | 2 ++ recipes-bsp/multitech/mts-io_4.9.0.bb | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 recipes-bsp/multitech/mts-io_4.8.9.bb delete mode 100644 recipes-bsp/multitech/mts-io_4.9.0.bb diff --git a/recipes-bsp/multitech/mts-io_4.8.9.bb b/recipes-bsp/multitech/mts-io_4.8.9.bb new file mode 100644 index 0000000..ee4fcfa --- /dev/null +++ b/recipes-bsp/multitech/mts-io_4.8.9.bb @@ -0,0 +1,2 @@ +require mts-io.inc + diff --git a/recipes-bsp/multitech/mts-io_4.9.0.bb b/recipes-bsp/multitech/mts-io_4.9.0.bb deleted file mode 100644 index ee4fcfa..0000000 --- a/recipes-bsp/multitech/mts-io_4.9.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require mts-io.inc - -- cgit v1.2.3 From 309117e7ff1663eb2b1cb3dba0073e9ef6d67282 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 4 Mar 2022 13:59:53 -0600 Subject: Updated mts-io-sysfs, mtac and mtac lora tags --- recipes-bsp/multitech/mtac-lora_1.1.12.bb | 59 +++++++++++++++++++++++++ recipes-bsp/multitech/mtac-lora_1.1.9.bb | 59 ------------------------- recipes-bsp/multitech/mtac_4.1.2.bb | 66 ---------------------------- recipes-bsp/multitech/mtac_4.1.4.bb | 66 ++++++++++++++++++++++++++++ recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb | 49 --------------------- recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb | 49 +++++++++++++++++++++ 6 files changed, 174 insertions(+), 174 deletions(-) create mode 100644 recipes-bsp/multitech/mtac-lora_1.1.12.bb delete mode 100644 recipes-bsp/multitech/mtac-lora_1.1.9.bb delete mode 100644 recipes-bsp/multitech/mtac_4.1.2.bb create mode 100644 recipes-bsp/multitech/mtac_4.1.4.bb delete mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb create mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb diff --git a/recipes-bsp/multitech/mtac-lora_1.1.12.bb b/recipes-bsp/multitech/mtac-lora_1.1.12.bb new file mode 100644 index 0000000..601c82d --- /dev/null +++ b/recipes-bsp/multitech/mtac-lora_1.1.12.bb @@ -0,0 +1,59 @@ +DESCRIPTION = "MTAC LoRa Card" +HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-lora/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +do_fetch[depends]+="virtual/kernel:do_shared_workdir" +DEPENDS = "virtual/kernel mtac mts-io" +RDEPENDS_${PN} = "kernel-module-mtac" +INC_PR = "r1" +COMPATIBLE_MACHINE = "(mtcdt|mtcpmhs)" + +SRCREV = "${PV}" + +PR = "${INC_PR}.1" + +PKGR = "${PR}${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" + +SRC_URI = " \ + git://git.multitech.net/mtac-lora.git;protocol=git;branch=master \ +" + +S = "${WORKDIR}/git" + +inherit module + +MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \ + ${STAGING_INCDIR}/mtac/Module.symvers" + +COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ + KBUILD_VERBOSE=1 \ + KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \ + M=${S} \ + modules \ + " + +EXTRA_OEMAKE_mtcdt = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ + -D SAM9G25'" +EXTRA_OEMAKE_mtcpmhs = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ + -D TI43X'" + +do_compile () { + bbnote make "$@" + make "$@" + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake +} + +PACKAGES = "kernel-module-${PN}" + +FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac_lora.ko" + +PARALLEL_MAKE = "" + +fakeroot do_install () { + install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra + # use cp instead of install so the driver doesn't get stripped + cp ${S}/mtac_lora.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra +} diff --git a/recipes-bsp/multitech/mtac-lora_1.1.9.bb b/recipes-bsp/multitech/mtac-lora_1.1.9.bb deleted file mode 100644 index 447eb6e..0000000 --- a/recipes-bsp/multitech/mtac-lora_1.1.9.bb +++ /dev/null @@ -1,59 +0,0 @@ -DESCRIPTION = "MTAC LoRa Card" -HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-lora/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -do_fetch[depends]+="virtual/kernel:do_shared_workdir" -DEPENDS = "virtual/kernel mtac mts-io" -RDEPENDS_${PN} = "kernel-module-mtac" -INC_PR = "r1" -COMPATIBLE_MACHINE = "(mtcdt|mtcpmhs)" - -SRCREV = "${PV}" - -PR = "${INC_PR}.1" - -PKGR = "${PR}${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" - -SRC_URI = " \ - git://git@gitlab.multitech.net/mirrors/mtac-lora;protocol=ssh;branch=master \ -" - -S = "${WORKDIR}/git" - -inherit module - -MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers \ - ${STAGING_INCDIR}/mtac/Module.symvers" - -COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ - KBUILD_VERBOSE=1 \ - KBUILD_EXTRA_SYMBOLS='${MTS_EXTRA_SYMBOLS}' \ - M=${S} \ - modules \ - " - -EXTRA_OEMAKE_mtcdt = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ - -D SAM9G25'" -EXTRA_OEMAKE_mtcpmhs = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ - -D TI43X'" - -do_compile () { - bbnote make "$@" - make "$@" - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - oe_runmake -} - -PACKAGES = "kernel-module-${PN}" - -FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac_lora.ko" - -PARALLEL_MAKE = "" - -fakeroot do_install () { - install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra - # use cp instead of install so the driver doesn't get stripped - cp ${S}/mtac_lora.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra -} diff --git a/recipes-bsp/multitech/mtac_4.1.2.bb b/recipes-bsp/multitech/mtac_4.1.2.bb deleted file mode 100644 index 49b97a7..0000000 --- a/recipes-bsp/multitech/mtac_4.1.2.bb +++ /dev/null @@ -1,66 +0,0 @@ -DESCRIPTION = "mtac drivers" -HOMEPAGE = "http://www.multitech.net/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -do_fetch[depends]+="virtual/kernel:do_shared_workdir" -DEPENDS = "virtual/kernel mts-io" -INC_PR = "r0" -COMPATIBLE_MACHINE = "(mtcdt|mtcpmhs)" - -SRCREV = "${AUTOREV}" - -# Some packages depend on mtac -RPROVIDES_kernel-module-${PN} = "mtac" - -PR = "${INC_PR}.1" - -PKGR = "${PR}${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" - -SRC_URI = " \ - git://git.multitech.net/mtac.git;protocol=git;branch=master \ -" -S = "${WORKDIR}/git" - -inherit module - -MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers" - -COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ - KBUILD_VERBOSE=1 \ - KBUILD_EXTRA_SYMBOLS="${MTS_EXTRA_SYMBOLS}" \ - M=${S} \ - modules \ - " - -EXTRA_OEMAKE_mtcdt = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ - -D ${MACHINE}'" -EXTRA_OEMAKE_mtcpmhs = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ - -D ${MACHINE} -D CONFIG_MTS_NUM_ACCESSORY_PORTS=2'" - -do_compile () { - bbnote make "$@" - make "$@" - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - oe_runmake -} - -PACKAGES = "kernel-module-${PN} ${PN}-dev" - -FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac.ko" - -PARALLEL_MAKE = "" - -fakeroot do_install () { - install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra - # use cp instead of install so the driver doesn't get stripped - cp ${S}/mtac.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra - - install -Dm0644 ${S}/Module.symvers ${D}${includedir}/${BPN}/Module.symvers - - install -d ${D}${includedir}/mts-kernel-headers/linux - install -m 0644 ${S}/mtac.h ${D}${includedir}/mts-kernel-headers/linux - cp ${S}/machine/* ${D}${includedir}/mts-kernel-headers/linux - chmod -R 0644 ${D}${includedir}/mts-kernel-headers/linux -} diff --git a/recipes-bsp/multitech/mtac_4.1.4.bb b/recipes-bsp/multitech/mtac_4.1.4.bb new file mode 100644 index 0000000..49b97a7 --- /dev/null +++ b/recipes-bsp/multitech/mtac_4.1.4.bb @@ -0,0 +1,66 @@ +DESCRIPTION = "mtac drivers" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +do_fetch[depends]+="virtual/kernel:do_shared_workdir" +DEPENDS = "virtual/kernel mts-io" +INC_PR = "r0" +COMPATIBLE_MACHINE = "(mtcdt|mtcpmhs)" + +SRCREV = "${AUTOREV}" + +# Some packages depend on mtac +RPROVIDES_kernel-module-${PN} = "mtac" + +PR = "${INC_PR}.1" + +PKGR = "${PR}${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" + +SRC_URI = " \ + git://git.multitech.net/mtac.git;protocol=git;branch=master \ +" +S = "${WORKDIR}/git" + +inherit module + +MTS_EXTRA_SYMBOLS="${STAGING_INCDIR}/mts-io/Module.symvers" + +COMMON_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ + KBUILD_VERBOSE=1 \ + KBUILD_EXTRA_SYMBOLS="${MTS_EXTRA_SYMBOLS}" \ + M=${S} \ + modules \ + " + +EXTRA_OEMAKE_mtcdt = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ + -D ${MACHINE}'" +EXTRA_OEMAKE_mtcpmhs = "${COMMON_OEMAKE} EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers \ + -D ${MACHINE} -D CONFIG_MTS_NUM_ACCESSORY_PORTS=2'" + +do_compile () { + bbnote make "$@" + make "$@" + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake +} + +PACKAGES = "kernel-module-${PN} ${PN}-dev" + +FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac.ko" + +PARALLEL_MAKE = "" + +fakeroot do_install () { + install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra + # use cp instead of install so the driver doesn't get stripped + cp ${S}/mtac.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra + + install -Dm0644 ${S}/Module.symvers ${D}${includedir}/${BPN}/Module.symvers + + install -d ${D}${includedir}/mts-kernel-headers/linux + install -m 0644 ${S}/mtac.h ${D}${includedir}/mts-kernel-headers/linux + cp ${S}/machine/* ${D}${includedir}/mts-kernel-headers/linux + chmod -R 0644 ${D}${includedir}/mts-kernel-headers/linux +} diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb b/recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb deleted file mode 100644 index acdc0e1..0000000 --- a/recipes-bsp/multitech/mts-io-sysfs_0.1.23.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "mts-io sysfs wrapper" -HOMEPAGE = "http://www.multitech.net/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -inherit update-rc.d - -DEPENDS = "libmts openssl" -RDEPENDS_${PN} = "bash" -PR = "r1" - -SRCREV = "${PV}" - -SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-io-sysfs;protocol=ssh;branch=master \ - file://mts-io-sysfs.init" - -S = "${WORKDIR}/git" - -do_configure_append() { -} - -do_compile() { - oe_runmake -} - - -fakeroot do_install() { - install -d ${D}${sbindir} - install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs - install -d 0755 ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config -} - - -INITSCRIPT_NAME = "eeprom-config" -# Must start after MTS-IO to read the accessory cards. -INITSCRIPT_PARAMS = "start 40 S ." - - -PACKAGES = "${PN}" - -FILES_${PN} += "${libdir}/mts-io-sysfs*" -FILES_${PN} += "${sbindir}/mts-io-sysfs" - -# disable this on purpose for dev purposes -do_rm_work() { - echo "skipping" -} diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb b/recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb new file mode 100644 index 0000000..c054d28 --- /dev/null +++ b/recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "mts-io sysfs wrapper" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +inherit update-rc.d + +DEPENDS = "libmts openssl" +RDEPENDS_${PN} = "bash" +PR = "r1" + +SRCREV = "${PV}" + +SRC_URI = "git://git.multitech.net/mts-io-sysfs.git;protocol=git;branch=master \ + file://mts-io-sysfs.init" + +S = "${WORKDIR}/git" + +do_configure_append() { +} + +do_compile() { + oe_runmake +} + + +fakeroot do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs + install -d 0755 ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config +} + + +INITSCRIPT_NAME = "eeprom-config" +# Must start after MTS-IO to read the accessory cards. +INITSCRIPT_PARAMS = "start 40 S ." + + +PACKAGES = "${PN}" + +FILES_${PN} += "${libdir}/mts-io-sysfs*" +FILES_${PN} += "${sbindir}/mts-io-sysfs" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} -- cgit v1.2.3 From 166a1e59c5ab439431bb4463af0884d330baa20e Mon Sep 17 00:00:00 2001 From: Vyacheslav Pedash Date: Tue, 22 Mar 2022 22:14:02 +0200 Subject: Add symlink to mts_io device --- recipes-bsp/multitech/mts-io.inc | 2 ++ recipes-bsp/multitech/mts-io_4.8.9.bb | 2 -- recipes-bsp/multitech/mts-io_4.9.3.bb | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-io_4.8.9.bb create mode 100644 recipes-bsp/multitech/mts-io_4.9.3.bb diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 62b0f0a..ec6eb36 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -41,6 +41,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 "$@" diff --git a/recipes-bsp/multitech/mts-io_4.8.9.bb b/recipes-bsp/multitech/mts-io_4.8.9.bb deleted file mode 100644 index ee4fcfa..0000000 --- a/recipes-bsp/multitech/mts-io_4.8.9.bb +++ /dev/null @@ -1,2 +0,0 @@ -require mts-io.inc - diff --git a/recipes-bsp/multitech/mts-io_4.9.3.bb b/recipes-bsp/multitech/mts-io_4.9.3.bb new file mode 100644 index 0000000..ee4fcfa --- /dev/null +++ b/recipes-bsp/multitech/mts-io_4.9.3.bb @@ -0,0 +1,2 @@ +require mts-io.inc + -- cgit v1.2.3 From 911a36abb7ee1973bc86492b7bf6e13ce571056a Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Sat, 9 Apr 2022 11:11:00 +0300 Subject: MTCAP3: mts-io pin by desc Temporarily switched mts-io to a commit beyond 4.9.3. Pulled the mts-io version to include recent changes made by Harsh. --- recipes-bsp/multitech/mts-io.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index ec6eb36..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}" -- cgit v1.2.3 From 9c923734a70e03c1f0bbc8b214118e910258c782 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 12 Apr 2022 13:32:33 -0500 Subject: Updated mts-io commit hash --- recipes-bsp/multitech/mts-io.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 921214b..7f9ff1b 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -7,10 +7,11 @@ 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 = "r2" +INC_PR = "r3" #SRCREV = "${PV}" -SRCREV = "9af21ab37a0896f1be90e08880aa6b03dcfb5bb6" +SRCREV = "af1a65245846202072604b4ffb574cf1b7bf9967" + PR = "${INC_PR}.0" PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" -- cgit v1.2.3 From 25ea360955dcaaf5be18f0471f3457c7088633a0 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 12 Apr 2022 15:15:14 -0500 Subject: Updated mts-io recipe to automate driver version generation --- recipes-bsp/multitech/mts-io.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 7f9ff1b..eb19b89 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -10,7 +10,7 @@ do_fetch[depends] += "virtual/kernel:do_shared_workdir" INC_PR = "r3" #SRCREV = "${PV}" -SRCREV = "af1a65245846202072604b4ffb574cf1b7bf9967" +SRCREV = "e332db6f7631d0e550e38225416d209b104a8c96" PR = "${INC_PR}.0" PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" @@ -37,13 +37,14 @@ inherit update-rc.d inherit autotools EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \ + EXTRA_CFLAGS='-I${B}' \ KBUILD_VERBOSE=1 \ M=${S}/io-module \ modules \ " -EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS='-D MTRE'" +EXTRA_OEMAKE_append_mtre = "EXTRA_CFLAGS+=' -D MTRE'" -EXTRA_OEMAKE_append_mtcap3 = "EXTRA_CFLAGS='-D PLATFORM_BUS_SYMLINK'" +EXTRA_OEMAKE_append_mtcap3 = "EXTRA_CFLAGS+=' -D PLATFORM_BUS_SYMLINK'" do_compile () { bbnote make "$@" -- cgit v1.2.3 From 9508dea438c2947c3cd289f4d84c11756b674f09 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 12 Apr 2022 16:01:18 -0500 Subject: Updated mts-io tag --- recipes-bsp/multitech/mts-io.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index eb19b89..ce77273 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -10,7 +10,7 @@ do_fetch[depends] += "virtual/kernel:do_shared_workdir" INC_PR = "r3" #SRCREV = "${PV}" -SRCREV = "e332db6f7631d0e550e38225416d209b104a8c96" +SRCREV = "2b94afb375581c578c8aa8829e12085e0ebaf2ad" PR = "${INC_PR}.0" PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" -- cgit v1.2.3 From 427b0b0072e62a0c0e7db09452d5da4fab69cb42 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Wed, 13 Apr 2022 09:53:52 +0300 Subject: MTCAP3: Move mts-io to the 4.9.4 tag --- recipes-bsp/multitech/mts-io.inc | 5 ++--- recipes-bsp/multitech/mts-io_4.9.3.bb | 2 -- recipes-bsp/multitech/mts-io_4.9.4.bb | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-io_4.9.3.bb create mode 100644 recipes-bsp/multitech/mts-io_4.9.4.bb diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index ce77273..bcc28e6 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -7,10 +7,9 @@ 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 = "r0" -#SRCREV = "${PV}" -SRCREV = "2b94afb375581c578c8aa8829e12085e0ebaf2ad" +SRCREV = "${PV}" PR = "${INC_PR}.0" PKGR = "${PR}-${KERNEL_MODULE_PACKAGE_SUFFIX}${EXTENDPRAUTO}" diff --git a/recipes-bsp/multitech/mts-io_4.9.3.bb b/recipes-bsp/multitech/mts-io_4.9.3.bb deleted file mode 100644 index ee4fcfa..0000000 --- a/recipes-bsp/multitech/mts-io_4.9.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -require mts-io.inc - diff --git a/recipes-bsp/multitech/mts-io_4.9.4.bb b/recipes-bsp/multitech/mts-io_4.9.4.bb new file mode 100644 index 0000000..ee4fcfa --- /dev/null +++ b/recipes-bsp/multitech/mts-io_4.9.4.bb @@ -0,0 +1,2 @@ +require mts-io.inc + -- cgit v1.2.3 From fc393dbed7b562c3dd761d94575138b278ff99c6 Mon Sep 17 00:00:00 2001 From: Mykola Salomatin Date: Tue, 17 May 2022 19:08:14 +0300 Subject: [MTX-4480] mPower R.6.0.X: MTCAP3 - Filesystem Encryption capability GP-1586 --- recipes-bsp/multitech/mts-id-eeprom.inc | 4 +-- recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb | 3 -- recipes-bsp/multitech/mts-id-eeprom_0.6.5.bb | 3 ++ recipes-bsp/multitech/mts-io-sysfs_0.2.4.bb | 46 ---------------------------- recipes-bsp/multitech/mts-io-sysfs_0.2.5.bb | 46 ++++++++++++++++++++++++++++ recipes-bsp/multitech/mts-io_4.9.4.bb | 2 -- recipes-bsp/multitech/mts-io_4.9.5.bb | 2 ++ 7 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb create mode 100644 recipes-bsp/multitech/mts-id-eeprom_0.6.5.bb delete mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.2.4.bb create mode 100644 recipes-bsp/multitech/mts-io-sysfs_0.2.5.bb delete mode 100644 recipes-bsp/multitech/mts-io_4.9.4.bb create mode 100644 recipes-bsp/multitech/mts-io_4.9.5.bb diff --git a/recipes-bsp/multitech/mts-id-eeprom.inc b/recipes-bsp/multitech/mts-id-eeprom.inc index 13f2b05..7e1df05 100644 --- a/recipes-bsp/multitech/mts-id-eeprom.inc +++ b/recipes-bsp/multitech/mts-id-eeprom.inc @@ -4,7 +4,7 @@ SECTION = "console/utils" PRIORITY = "optional" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -INC_PR = "r7" +INC_PR = "r0" DEPENDS = "mts-io openssl" DEPENDS_append_mtcdt3 = " mtcdt3b" DEPENDS_append_mtcdt3hs = " mtcdt3b" @@ -26,7 +26,7 @@ TARGET_CFLAGS_append_mtre = " -D MTRE" SRCREV = "${PV}" FILESEXTRAPATHS_prepend_mtcpmhs := "${THISDIR}/mts-id-eeprom/mtcdt:" -SRC_URI = "git://git.multitech.net/mts-id-eeprom;protocol=git" +SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-id-eeprom;protocol=ssh;branch=master" SRC_URI_append_mtcdt = " file://mtcdt-fpga-v31.hex file://mtcdt-fpga-v35.hex" SRC_URI_append_mtcpmhs = " file://mtcdt-fpga-v31.hex file://mtcdt-fpga-v35.hex" SRC_URI_append_mtcap = " file://mtcap-fpga-v31.hex file://mtcap-fpga-v35.hex" diff --git a/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb b/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb deleted file mode 100644 index 12c32c4..0000000 --- a/recipes-bsp/multitech/mts-id-eeprom_0.6.4.bb +++ /dev/null @@ -1,3 +0,0 @@ -require mts-id-eeprom.inc - -PR = "${INC_PR}.1" diff --git a/recipes-bsp/multitech/mts-id-eeprom_0.6.5.bb b/recipes-bsp/multitech/mts-id-eeprom_0.6.5.bb new file mode 100644 index 0000000..ccf3521 --- /dev/null +++ b/recipes-bsp/multitech/mts-id-eeprom_0.6.5.bb @@ -0,0 +1,3 @@ +require mts-id-eeprom.inc + +PR = "${INC_PR}.0" diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.2.4.bb b/recipes-bsp/multitech/mts-io-sysfs_0.2.4.bb deleted file mode 100644 index a489468..0000000 --- a/recipes-bsp/multitech/mts-io-sysfs_0.2.4.bb +++ /dev/null @@ -1,46 +0,0 @@ -DESCRIPTION = "mts-io sysfs wrapper" -HOMEPAGE = "http://www.multitech.net/" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -inherit update-rc.d - -DEPENDS = "libmts openssl" -RDEPENDS_${PN} = "bash" -PR = "r1" - -SRCREV = "${PV}" - -SRC_URI = "git://git.multitech.net/mts-io-sysfs.git;protocol=git;branch=master \ - file://mts-io-sysfs.init" - -S = "${WORKDIR}/git" - -do_configure_append() { -} - -do_compile() { - oe_runmake -} - - -fakeroot do_install() { - install -d ${D}${sbindir} - install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs - install -d 0755 ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config -} - - -INITSCRIPT_NAME = "eeprom-config" -# Must start after MTS-IO to read the accessory cards. -INITSCRIPT_PARAMS = "start 40 S ." - -FILES_${PN} += "${libdir}/mts-io-sysfs*" -FILES_${PN} += "${sbindir}/mts-io-sysfs" - -# disable this on purpose for dev purposes -do_rm_work() { - echo "skipping" -} diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.2.5.bb b/recipes-bsp/multitech/mts-io-sysfs_0.2.5.bb new file mode 100644 index 0000000..3b8bf7f --- /dev/null +++ b/recipes-bsp/multitech/mts-io-sysfs_0.2.5.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "mts-io sysfs wrapper" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +inherit update-rc.d + +DEPENDS = "libmts openssl" +RDEPENDS_${PN} = "bash" +PR = "r0" + +SRCREV = "${PV}" + +SRC_URI = "git://git@gitlab.multitech.net/mirrors/mts-io-sysfs;protocol=ssh;branch=master \ + file://mts-io-sysfs.init" + +S = "${WORKDIR}/git" + +do_configure_append() { +} + +do_compile() { + oe_runmake +} + + +fakeroot do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs + install -d 0755 ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config +} + + +INITSCRIPT_NAME = "eeprom-config" +# Must start after MTS-IO to read the accessory cards. +INITSCRIPT_PARAMS = "start 40 S ." + +FILES_${PN} += "${libdir}/mts-io-sysfs*" +FILES_${PN} += "${sbindir}/mts-io-sysfs" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} diff --git a/recipes-bsp/multitech/mts-io_4.9.4.bb b/recipes-bsp/multitech/mts-io_4.9.4.bb deleted file mode 100644 index ee4fcfa..0000000 --- a/recipes-bsp/multitech/mts-io_4.9.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require mts-io.inc - diff --git a/recipes-bsp/multitech/mts-io_4.9.5.bb b/recipes-bsp/multitech/mts-io_4.9.5.bb new file mode 100644 index 0000000..ee4fcfa --- /dev/null +++ b/recipes-bsp/multitech/mts-io_4.9.5.bb @@ -0,0 +1,2 @@ +require mts-io.inc + -- cgit v1.2.3