diff options
author | John Klug <john.klug@multitech.com> | 2018-04-19 16:11:13 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-04-19 16:13:44 -0500 |
commit | 176578f97aca1ba0dece9d8c2dda9bdaca937c24 (patch) | |
tree | ad708e327ad40498fb25ad2c53bed58d513a93d4 /recipes-bsp/multitech/mts-io.inc | |
parent | 9c94a38a4ca02fe32ec39d3bf42bf07496f76f0f (diff) | |
download | meta-multitech-atmel-176578f97aca1ba0dece9d8c2dda9bdaca937c24.tar.gz meta-multitech-atmel-176578f97aca1ba0dece9d8c2dda9bdaca937c24.tar.bz2 meta-multitech-atmel-176578f97aca1ba0dece9d8c2dda9bdaca937c24.zip |
Add developer package for dependencies
Diffstat (limited to 'recipes-bsp/multitech/mts-io.inc')
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index 8e65401..bede297 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -45,7 +45,7 @@ do_compile () { oe_runmake } -PACKAGES = "${PN}-noarch kernel-module-${PN} ${PN}-util ${PN}-util-dbg" +PACKAGES = "${PN}-noarch kernel-module-${PN} ${PN}-util ${PN}-util-dbg ${PN}-dev" FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mts_io.ko" FILES_${PN}-noarch = "${sysconfdir}" @@ -54,6 +54,7 @@ FILES_${PN}-noarch += "${sbindir}/mts-io-sysfs" FILES_${PN}-noarch_append_mtcap += "${sbindir}/lora-led-updater" FILES_${PN}-util += "${sbindir}/mts-util-lora2-reset" FILES_${PN}-util-dbg += "/usr/src /usr/sbin/.debug" +FILES_${PN}-dev += "/usr/include/linux/mts_eeprom.h" INITSCRIPT_NAME = "mts-io" INITSCRIPT_PARAMS = "start 39 S ." @@ -67,10 +68,9 @@ fakeroot do_install () { cp ${S}/io-module/mts_io.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra cp ${S}/io-module/mts_io.h ${STAGING_KERNEL_DIR}/include/linux/ cp ${S}/io-module/mts_io.h ${STAGING_INCDIR}/linux/ - if [ -f io-module/mts_eeprom.h ]; then - cp ${S}/io-module/mts_eeprom.h ${STAGING_KERNEL_DIR}/include/linux/ - cp ${S}/io-module/mts_eeprom.h ${STAGING_INCDIR}/linux/ - fi + install -m0644 ${S}/io-module/mts_eeprom.h ${STAGING_KERNEL_DIR}/include/linux/ + install -d ${D}/usr/include/linux/ + install -m 0644 ${S}/io-module/mts_eeprom.h ${D}/usr/include/linux/ install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/mts-io.init ${D}${sysconfdir}/init.d/mts-io |