summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-09-29 16:32:42 -0500
committerJohn Klug <john.klug@multitech.com>2020-09-29 16:32:42 -0500
commite145fa5035ba50cf304022a1edb6b865a0d33f35 (patch)
tree7ed513d4f29d43114434c79043285490e754f841
parentc025777d689a5d989b557c0e486408b9fb60b2de (diff)
downloadmeta-multitech-atmel-e145fa5035ba50cf304022a1edb6b865a0d33f35.tar.gz
meta-multitech-atmel-e145fa5035ba50cf304022a1edb6b865a0d33f35.tar.bz2
meta-multitech-atmel-e145fa5035ba50cf304022a1edb6b865a0d33f35.zip
Move mtac to meta-multiech
-rw-r--r--recipes-bsp/multitech/mtac-eth_1.1.0.bb47
-rw-r--r--recipes-bsp/multitech/mtac-gpiob_1.1.2.bb47
-rw-r--r--recipes-bsp/multitech/mtac-lora_1.1.4.bb47
-rw-r--r--recipes-bsp/multitech/mtac-mfser_1.1.0.bb47
-rw-r--r--recipes-bsp/multitech/mtac-pulse_1.1.0.bb47
-rwxr-xr-xrecipes-bsp/multitech/mtac-xdot/xdot-util72
-rw-r--r--recipes-bsp/multitech/mtac-xdot_1.1.0.bb54
7 files changed, 0 insertions, 361 deletions
diff --git a/recipes-bsp/multitech/mtac-eth_1.1.0.bb b/recipes-bsp/multitech/mtac-eth_1.1.0.bb
deleted file mode 100644
index f05fc19..0000000
--- a/recipes-bsp/multitech/mtac-eth_1.1.0.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-DESCRIPTION = "MTAC ETH (Ethernet) Card"
-HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-eth/"
-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 = "r0"
-
-SRCREV = "${PV}"
-
-PR = "${INC_PR}.1${KERNEL_MODULE_PACKAGE_SUFFIX}"
-
-SRC_URI = " \
- git://git.multitech.net/mtac-eth.git;protocol=git \
-"
-S = "${WORKDIR}/git"
-
-inherit module
-
-EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
- EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \
- KBUILD_VERBOSE=1 \
- M=${S} \
- modules \
- "
-
-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_eth.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_eth.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
diff --git a/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb b/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
deleted file mode 100644
index d00c5fa..0000000
--- a/recipes-bsp/multitech/mtac-gpiob_1.1.2.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-DESCRIPTION = "MTAC GPIOB Card"
-HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-gpiob/"
-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 = "r0"
-
-SRCREV = "${AUTOREV}"
-
-PR = "${INC_PR}.1${KERNEL_MODULE_PACKAGE_SUFFIX}"
-
-SRC_URI = " \
- git://git.multitech.net/mtac-gpiob.git;protocol=git \
-"
-S = "${WORKDIR}/git"
-
-inherit module
-
-EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
- EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \
- KBUILD_VERBOSE=1 \
- M=${S} \
- modules \
- "
-
-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_gpiob.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_gpiob.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
diff --git a/recipes-bsp/multitech/mtac-lora_1.1.4.bb b/recipes-bsp/multitech/mtac-lora_1.1.4.bb
deleted file mode 100644
index ec4dd21..0000000
--- a/recipes-bsp/multitech/mtac-lora_1.1.4.bb
+++ /dev/null
@@ -1,47 +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 = "r0"
-
-SRCREV = "${PV}"
-
-PR = "${INC_PR}.1${KERNEL_MODULE_PACKAGE_SUFFIX}"
-
-SRC_URI = " \
- git://git.multitech.net/mtac-lora.git;protocol=git \
-"
-S = "${WORKDIR}/git"
-
-inherit module
-
-EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
- EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \
- KBUILD_VERBOSE=1 \
- M=${S} \
- modules \
- "
-
-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-mfser_1.1.0.bb b/recipes-bsp/multitech/mtac-mfser_1.1.0.bb
deleted file mode 100644
index 42640f5..0000000
--- a/recipes-bsp/multitech/mtac-mfser_1.1.0.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-DESCRIPTION = "MTAC Multi-Function Serial Card"
-HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-mfser/"
-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 = "r0"
-
-SRCREV = "${PV}"
-
-PR = "${INC_PR}.1${KERNEL_MODULE_PACKAGE_SUFFIX}"
-
-SRC_URI = " \
- git://git.multitech.net/mtac-mfser.git;protocol=git \
-"
-S = "${WORKDIR}/git"
-
-inherit module
-
-EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
- EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \
- KBUILD_VERBOSE=1 \
- M=${S} \
- modules \
- "
-
-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_mfser.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_mfser.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
diff --git a/recipes-bsp/multitech/mtac-pulse_1.1.0.bb b/recipes-bsp/multitech/mtac-pulse_1.1.0.bb
deleted file mode 100644
index 4b0195f..0000000
--- a/recipes-bsp/multitech/mtac-pulse_1.1.0.bb
+++ /dev/null
@@ -1,47 +0,0 @@
-DESCRIPTION = "MTAC PULSE Card"
-HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-pulse/"
-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 = "r0"
-
-SRCREV = "${PV}"
-
-PR = "${INC_PR}.1${KERNEL_MODULE_PACKAGE_SUFFIX}"
-
-SRC_URI = " \
- git://git.multitech.net/mtac-pulse.git;protocol=git \
-"
-S = "${WORKDIR}/git"
-
-inherit module
-
-EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
- EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \
- KBUILD_VERBOSE=1 \
- M=${S} \
- modules \
- "
-
-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_pulse.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_pulse.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
-}
diff --git a/recipes-bsp/multitech/mtac-xdot/xdot-util b/recipes-bsp/multitech/mtac-xdot/xdot-util
deleted file mode 100755
index f805305..0000000
--- a/recipes-bsp/multitech/mtac-xdot/xdot-util
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/bash
-
-function detect_hw {
- if [ ! -d /sys/devices/platform/mts-io/xdot ]; then
- echo "XDOT hardware not found"
- exit
- fi
-}
-
-function detect_hw_dev {
- if [ ! -h /dev/disk/by-label/XDOT ]; then
- echo "XDOT dev hardware not found"
- exit
- fi
-}
-
-function flash {
- echo "Flashing new firmware"
- cp $FIRMWARE_FILE $TEMP_DIR
-}
-
-function mount_xdot {
- TEMP_DIR=`mktemp -d`
- mount /dev/disk/by-label/XDOT $TEMP_DIR
-}
-
-function reset {
- mts-io-sysfs store xdot/reset 0
- mts-io-sysfs store xdot/reset 1
- mts-io-sysfs store xdot/reset -- -1 &>/dev/null
-}
-
-function usb_reset {
- echo 0 > /sys/bus/usb/devices/1-2.1/authorized
- sleep 1
- echo 1 > /sys/bus/usb/devices/1-2.1/authorized
-}
-
-function clean_up {
- umount $TEMP_DIR
- rm -fr $TEMP_DIR
-}
-
-case "$1" in
-"flash")
- detect_hw_dev
- FIRMWARE_FILE=$2
- mts-io-sysfs store xdot/reset -- -1 &>/dev/null
- mount_xdot
- flash
- clean_up
- sleep 1
- reset
- echo done
- ;;
-"mount")
- detect_hw_dev
- mount_xdot
- echo Mounted at $TEMP_DIR
- ;;
-"reset")
- detect_hw
- reset
- ;;
-"usb-reset")
- detect_hw
- usb_reset
- ;;
-*) ## If no parameters are given, print which are avaiable.
- echo "Usage: $0 {flash|mount|reset|usb-reset}"
- ;;
-esac
diff --git a/recipes-bsp/multitech/mtac-xdot_1.1.0.bb b/recipes-bsp/multitech/mtac-xdot_1.1.0.bb
deleted file mode 100644
index 988a491..0000000
--- a/recipes-bsp/multitech/mtac-xdot_1.1.0.bb
+++ /dev/null
@@ -1,54 +0,0 @@
-DESCRIPTION = "MTAC XDOT (LoRa) Card"
-HOMEPAGE = "http://www.multitech.net/developer/products/multiconnect-conduit-platform/accessory-cards/mtac-xdot/"
-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 = "r2"
-
-SRCREV = "${PV}"
-
-PR = "${INC_PR}.1${KERNEL_MODULE_PACKAGE_SUFFIX}"
-
-SRC_URI = " \
- git://git.multitech.net/mtac-xdot.git;protocol=git \
- file://xdot-util \
-"
-S = "${WORKDIR}/git"
-
-inherit module
-
-EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
- EXTRA_CFLAGS='-I${STAGING_INCDIR}/mts-kernel-headers' \
- KBUILD_VERBOSE=1 \
- M=${S} \
- modules \
- "
-
-do_compile () {
- bbnote make "$@"
- make "$@"
- unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- oe_runmake
-}
-
-
-PACKAGES = "kernel-module-${PN} ${PN}-util"
-
-FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mtac_xdot.ko"
-
-FILES_${PN}-util += "${sbindir}/xdot-util"
-
-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_xdot.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
-
- install -m 0755 -d ${D}${sbindir}
- install -m 0755 ${WORKDIR}/xdot-util ${D}${sbindir}/xdot-util
-}