diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2022-03-03 15:43:45 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2022-03-03 15:43:45 -0600 |
commit | 2000a04054bebf674357de12365853b58ec9137e (patch) | |
tree | a3d37b0dd47d45e9bcca27fb77324bb4d1f5e8bb /recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb | |
parent | 409a22951841008c8b20ce101c445e979d850e2e (diff) | |
download | meta-multitech-2000a04054bebf674357de12365853b58ec9137e.tar.gz meta-multitech-2000a04054bebf674357de12365853b58ec9137e.tar.bz2 meta-multitech-2000a04054bebf674357de12365853b58ec9137e.zip |
Updated mts-io, mts-io-syfs tags and changed src_uri to git.multitech
Diffstat (limited to 'recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb')
-rw-r--r-- | recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb b/recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb new file mode 100644 index 0000000..a489468 --- /dev/null +++ b/recipes-bsp/multitech/mts-io-sysfs_0.2.0.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "mts-io sysfs wrapper" +HOMEPAGE = "http://www.multitech.net/" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +inherit update-rc.d + +DEPENDS = "libmts openssl" +RDEPENDS_${PN} = "bash" +PR = "r1" + +SRCREV = "${PV}" + +SRC_URI = "git://git.multitech.net/mts-io-sysfs.git;protocol=git;branch=master \ + file://mts-io-sysfs.init" + +S = "${WORKDIR}/git" + +do_configure_append() { +} + +do_compile() { + oe_runmake +} + + +fakeroot do_install() { + install -d ${D}${sbindir} + install -m 0755 ${S}/build/mts-io-sysfs ${D}${sbindir}/mts-io-sysfs + install -d 0755 ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/mts-io-sysfs.init ${D}${sysconfdir}/init.d/eeprom-config +} + + +INITSCRIPT_NAME = "eeprom-config" +# Must start after MTS-IO to read the accessory cards. +INITSCRIPT_PARAMS = "start 40 S ." + +FILES_${PN} += "${libdir}/mts-io-sysfs*" +FILES_${PN} += "${sbindir}/mts-io-sysfs" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} |