diff options
author | James Maki <jmaki@multitech.com> | 2010-09-10 12:45:41 -0500 |
---|---|---|
committer | James Maki <jmaki@multitech.com> | 2010-09-10 12:45:41 -0500 |
commit | 1b64e284b16aea04a59489182790a9ade4686e0a (patch) | |
tree | f69e6d4d7af93e95f803a919607f27631aafb5f2 /recipes/multitech | |
parent | 66ea95e17a1f4018d28dd3a362a221527db4cfd0 (diff) |
add recipe for mts-id-eeprom and update mts-io_git.bb to install
header files
Diffstat (limited to 'recipes/multitech')
-rw-r--r-- | recipes/multitech/mts-id-eeprom_git.bb | 16 | ||||
-rw-r--r-- | recipes/multitech/mts-io_git.bb | 16 |
2 files changed, 20 insertions, 12 deletions
diff --git a/recipes/multitech/mts-id-eeprom_git.bb b/recipes/multitech/mts-id-eeprom_git.bb new file mode 100644 index 0000000000..b5c1de288c --- /dev/null +++ b/recipes/multitech/mts-id-eeprom_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "ID EEPROM" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "console/utils" +PRIORITY = "optional" +LICENSE = "GPL" +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 index fe559e8e66..eb80c47079 100644 --- a/recipes/multitech/mts-io_git.bb +++ b/recipes/multitech/mts-io_git.bb @@ -5,19 +5,16 @@ PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "virtual/kernel" RDEPENDS = "kernel (${KERNEL_VERSION})" -PV = "${SRCPV}" +PR = "r0" + 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} \ @@ -36,22 +33,17 @@ do_compile () { 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 + 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 |