From f77072c68a591520622decf1da672fa8abb33483 Mon Sep 17 00:00:00 2001 From: James Maki Date: Tue, 11 May 2010 12:02:44 -0500 Subject: add tagged recipes --- recipes/multitech/helloworld-autotools_1.0.0.bb | 15 +++++++ recipes/multitech/helloworld-autotools_git.bb | 1 + recipes/multitech/mts-io_0.2.0.bb | 59 +++++++++++++++++++++++++ recipes/multitech/mts-io_git.bb | 1 + recipes/multitech/sms-utils_0.0.3.bb | 15 +++++++ recipes/multitech/sms-utils_git.bb | 1 + recipes/multitech/u-boot-linux-utils_0.0.1.bb | 16 +++++++ recipes/multitech/u-boot-linux-utils_git.bb | 1 + recipes/multitech/upgrade-reboot_1.0.0.bb | 14 ++++++ recipes/multitech/upgrade-reboot_git.bb | 1 + recipes/multitech/venus-gps_0.0.2.bb | 14 ++++++ recipes/multitech/venus-gps_git.bb | 1 + 12 files changed, 139 insertions(+) create mode 100644 recipes/multitech/helloworld-autotools_1.0.0.bb create mode 100644 recipes/multitech/mts-io_0.2.0.bb create mode 100644 recipes/multitech/sms-utils_0.0.3.bb create mode 100644 recipes/multitech/u-boot-linux-utils_0.0.1.bb create mode 100644 recipes/multitech/upgrade-reboot_1.0.0.bb create mode 100644 recipes/multitech/venus-gps_0.0.2.bb diff --git a/recipes/multitech/helloworld-autotools_1.0.0.bb b/recipes/multitech/helloworld-autotools_1.0.0.bb new file mode 100644 index 0000000000..3ddc926608 --- /dev/null +++ b/recipes/multitech/helloworld-autotools_1.0.0.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://multitech.net/helloworld-autotools.git;protocol=git;tag=1.0.0" +S = "${WORKDIR}/git" + +inherit autotools + +PARALLEL_MAKE = "" diff --git a/recipes/multitech/helloworld-autotools_git.bb b/recipes/multitech/helloworld-autotools_git.bb index fe1208432e..9e4d703249 100644 --- a/recipes/multitech/helloworld-autotools_git.bb +++ b/recipes/multitech/helloworld-autotools_git.bb @@ -5,6 +5,7 @@ PRIORITY = "optional" LICENSE = "GPL" PV = "${SRCPV}" PR = "r0" +DEFAULT_PREFERENCE = "-1" SRC_URI = "git://multitech.net/helloworld-autotools.git;protocol=git;tag=master" S = "${WORKDIR}/git" diff --git a/recipes/multitech/mts-io_0.2.0.bb b/recipes/multitech/mts-io_0.2.0.bb new file mode 100644 index 0000000000..67b7d65875 --- /dev/null +++ b/recipes/multitech/mts-io_0.2.0.bb @@ -0,0 +1,59 @@ +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}" + +SRC_URI = " \ + file://mts-io.init \ + git://multitech.net/cdp-io-controller.git;protocol=git;tag=v0.2.0 \ +" +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/mts-io_git.bb b/recipes/multitech/mts-io_git.bb index 59034581cd..c03e783581 100644 --- a/recipes/multitech/mts-io_git.bb +++ b/recipes/multitech/mts-io_git.bb @@ -6,6 +6,7 @@ LICENSE = "GPL" DEPENDS = "virtual/kernel" RDEPENDS = "kernel (${KERNEL_VERSION})" PV = "${SRCPV}" +DEFAULT_PREFERENCE = "-1" SRC_URI = " \ file://mts-io.init \ diff --git a/recipes/multitech/sms-utils_0.0.3.bb b/recipes/multitech/sms-utils_0.0.3.bb new file mode 100644 index 0000000000..2c6c1e2e72 --- /dev/null +++ b/recipes/multitech/sms-utils_0.0.3.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "SMS Utilities" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "console/utils" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libesmtp libyaml" +PV = "${SRCPV}" +PR = "r0" + +SRC_URI = "git://multitech.net/sms-utils.git;protocol=git;tag=0.0.3" +S = "${WORKDIR}/git" + +inherit autotools + +PARALLEL_MAKE = "" diff --git a/recipes/multitech/sms-utils_git.bb b/recipes/multitech/sms-utils_git.bb index dc8ef1a50a..9f62eea095 100644 --- a/recipes/multitech/sms-utils_git.bb +++ b/recipes/multitech/sms-utils_git.bb @@ -6,6 +6,7 @@ LICENSE = "GPL" DEPENDS = "libesmtp libyaml" PV = "${SRCPV}" PR = "r0" +DEFAULT_PREFERENCE = "-1" SRC_URI = "git://multitech.net/sms-utils.git;protocol=git;tag=master" S = "${WORKDIR}/git" diff --git a/recipes/multitech/u-boot-linux-utils_0.0.1.bb b/recipes/multitech/u-boot-linux-utils_0.0.1.bb new file mode 100644 index 0000000000..fdf29e0427 --- /dev/null +++ b/recipes/multitech/u-boot-linux-utils_0.0.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "U-Boot Linux Utilities" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "console/utils" +PRIORITY = "optional" +LICENSE = "GPL" +PV = "${SRCPV}" +PR = "r0" + +DEPENDS = "mtd-utils" + +SRC_URI = "git://multitech.net/u-boot-linux-utils.git;protocol=git;tag=0.0.1" +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 index b330dca8af..4762b5c475 100644 --- a/recipes/multitech/u-boot-linux-utils_git.bb +++ b/recipes/multitech/u-boot-linux-utils_git.bb @@ -5,6 +5,7 @@ PRIORITY = "optional" LICENSE = "GPL" PV = "${SRCPV}" PR = "r0" +DEFAULT_PREFERENCE = "-1" DEPENDS = "mtd-utils" diff --git a/recipes/multitech/upgrade-reboot_1.0.0.bb b/recipes/multitech/upgrade-reboot_1.0.0.bb new file mode 100644 index 0000000000..758e83042c --- /dev/null +++ b/recipes/multitech/upgrade-reboot_1.0.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Reboot command to run after firmware upgrade" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "console/utils" +PRIORITY = "optional" +LICENSE = "GPL" +PV = "${SRCPV}" +PR = "r0" + +SRC_URI = "git://multitech.net/upgrade-reboot.git;protocol=git;tag=1.0.0" +S = "${WORKDIR}/git" + +inherit autotools + +PARALLEL_MAKE = "" diff --git a/recipes/multitech/upgrade-reboot_git.bb b/recipes/multitech/upgrade-reboot_git.bb index 1bd3952dec..c162abdd40 100644 --- a/recipes/multitech/upgrade-reboot_git.bb +++ b/recipes/multitech/upgrade-reboot_git.bb @@ -5,6 +5,7 @@ PRIORITY = "optional" LICENSE = "GPL" PV = "${SRCPV}" PR = "r0" +DEFAULT_PREFERENCE = "-1" SRC_URI = "git://multitech.net/upgrade-reboot.git;protocol=git;tag=master" S = "${WORKDIR}/git" diff --git a/recipes/multitech/venus-gps_0.0.2.bb b/recipes/multitech/venus-gps_0.0.2.bb new file mode 100644 index 0000000000..053f630385 --- /dev/null +++ b/recipes/multitech/venus-gps_0.0.2.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "SkyTraq Venus GPS Example" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "console/network" +PRIORITY = "optional" +LICENSE = "GPL" +PV = "${SRCPV}" +PR = "r0" + +SRC_URI = "git://multitech.net/venus-gps.git;protocol=git;tag=0.0.2" +S = "${WORKDIR}/git" + +inherit autotools + +PARALLEL_MAKE = "" diff --git a/recipes/multitech/venus-gps_git.bb b/recipes/multitech/venus-gps_git.bb index 4ffde0bbcb..1a7462a5a6 100644 --- a/recipes/multitech/venus-gps_git.bb +++ b/recipes/multitech/venus-gps_git.bb @@ -5,6 +5,7 @@ PRIORITY = "optional" LICENSE = "GPL" PV = "${SRCPV}" PR = "r0" +DEFAULT_PREFERENCE = "-1" SRC_URI = "git://multitech.net/venus-gps.git;protocol=git;tag=master" S = "${WORKDIR}/git" -- cgit v1.2.3