summaryrefslogtreecommitdiff
path: root/recipes/multitech
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/multitech')
-rw-r--r--recipes/multitech/helloworld-autotools_git.bb15
-rw-r--r--recipes/multitech/mts-id-eeprom_git.bb17
-rw-r--r--recipes/multitech/mts-io_git.bb54
-rw-r--r--recipes/multitech/sms-utils_git.bb16
-rw-r--r--recipes/multitech/u-boot-linux-utils_git.bb17
-rw-r--r--recipes/multitech/upgrade-reboot_git.bb15
-rw-r--r--recipes/multitech/venus-gps_git.bb15
7 files changed, 149 insertions, 0 deletions
diff --git a/recipes/multitech/helloworld-autotools_git.bb b/recipes/multitech/helloworld-autotools_git.bb
new file mode 100644
index 0000000000..c5da912498
--- /dev/null
+++ b/recipes/multitech/helloworld-autotools_git.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Hello World Recipe using autotools"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PV = "${SRCPV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "git://git.multitech.net/helloworld-autotools.git;protocol=git;tag=master"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
diff --git a/recipes/multitech/mts-id-eeprom_git.bb b/recipes/multitech/mts-id-eeprom_git.bb
new file mode 100644
index 0000000000..c6e5e3a936
--- /dev/null
+++ b/recipes/multitech/mts-id-eeprom_git.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "ID EEPROM"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PV = "${SRCPV}"
+PR = "r0"
+DEPENDS = "mts-io"
+
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "git://git.multitech.net/mts-id-eeprom.git;protocol=git;tag=master"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
diff --git a/recipes/multitech/mts-io_git.bb b/recipes/multitech/mts-io_git.bb
new file mode 100644
index 0000000000..1b915a3cdc
--- /dev/null
+++ b/recipes/multitech/mts-io_git.bb
@@ -0,0 +1,54 @@
+DESCRIPTION = "mts-io controller and sysfs wrapper"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "virtual/kernel"
+RDEPENDS = "kernel (${KERNEL_VERSION})"
+PV = "${SRCPV}"
+
+inherit module-base
+
+PR = "r0"
+
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = " \
+ git://git.multitech.net/cdp-io-controller.git;protocol=git;tag=master \
+"
+S = "${WORKDIR}/git/io-module"
+
+EXTRA_OEMAKE = " -C ${STAGING_KERNEL_DIR} \
+ M=${S} \
+ modules \
+ "
+
+do_configure () {
+ echo "Nothing to configure for mts-io"
+}
+
+do_compile () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake
+}
+
+PACKAGES = "${PN}"
+
+FILES_${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mts_io.ko"
+FILES_${PN} += "${libdir}/mts-io-sysfs*"
+FILES_${PN} += "${sbindir}/mts-io-sysfs"
+
+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}/mts_io.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
+ cp ${S}/mts_io.h ${STAGING_KERNEL_DIR}/include/linux/
+ cp ${S}/mts_io.h ${STAGING_INCDIR}/linux/
+
+ install -m 0755 -d ${D}${sbindir}
+ install -d ${D}${libdir}/mts-io-sysfs
+ install -m 0755 ${WORKDIR}/git/io-tool/mts-io-sysfs-inc.sh ${D}${libdir}/mts-io-sysfs
+ install -m 0755 ${WORKDIR}/git/io-tool/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs
+}
diff --git a/recipes/multitech/sms-utils_git.bb b/recipes/multitech/sms-utils_git.bb
new file mode 100644
index 0000000000..fa89aafe35
--- /dev/null
+++ b/recipes/multitech/sms-utils_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "SMS Utilities"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "libesmtp libyaml"
+PV = "${SRCPV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "git://git.multitech.net/sms-utils.git;protocol=git;tag=master"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
diff --git a/recipes/multitech/u-boot-linux-utils_git.bb b/recipes/multitech/u-boot-linux-utils_git.bb
new file mode 100644
index 0000000000..126153223b
--- /dev/null
+++ b/recipes/multitech/u-boot-linux-utils_git.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "U-Boot Linux Utilities"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PV = "${SRCPV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "1"
+
+DEPENDS = "mtd-utils"
+
+SRC_URI = "git://git.multitech.net/u-boot-linux-utils.git;protocol=git;tag=master"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
diff --git a/recipes/multitech/upgrade-reboot_git.bb b/recipes/multitech/upgrade-reboot_git.bb
new file mode 100644
index 0000000000..049026516a
--- /dev/null
+++ b/recipes/multitech/upgrade-reboot_git.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Reboot command to run after firmware upgrade"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "console/utils"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PV = "${SRCPV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "git://git.multitech.net/upgrade-reboot.git;protocol=git;tag=master"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+PARALLEL_MAKE = ""
diff --git a/recipes/multitech/venus-gps_git.bb b/recipes/multitech/venus-gps_git.bb
new file mode 100644
index 0000000000..e34025a8aa
--- /dev/null
+++ b/recipes/multitech/venus-gps_git.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "SkyTraq Venus GPS Example"
+HOMEPAGE = "http://www.multitech.net/"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "GPL"
+PV = "${SRCPV}"
+PR = "r0"
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = "git://git.multitech.net/venus-gps.git;protocol=git;tag=master"
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+PARALLEL_MAKE = ""