summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/multitech/helloworld-autotools_git.bb15
-rw-r--r--recipes/multitech/mts-io_git.bb60
-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
6 files changed, 138 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-io_git.bb b/recipes/multitech/mts-io_git.bb
new file mode 100644
index 0000000000..fe559e8e66
--- /dev/null
+++ b/recipes/multitech/mts-io_git.bb
@@ -0,0 +1,60 @@
+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}"
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI = " \
+ file://mts-io.init \
+ git://git.multitech.net/cdp-io-controller.git;protocol=git;tag=master \
+"
+S = "${WORKDIR}/git/io-module"
+
+inherit module-base
+inherit update-rc.d
+
+PR = "r0"
+
+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} += "${sysconfdir}/init.d/mts-io"
+FILES_${PN} += "${libdir}/mts-io-sysfs*"
+FILES_${PN} += "${sbindir}/mts-io-sysfs"
+
+INITSCRIPT_NAME = "mts-io"
+INITSCRIPT_PARAMS = "start 90 S ."
+
+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
+
+ install -d ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/mts-io.init ${D}${sysconfdir}/init.d/mts-io
+
+ 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 = ""