diff options
| -rw-r--r-- | recipes-extended/tsntool/tsntool_git.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb new file mode 100644 index 000000000..977d43adc --- /dev/null +++ b/recipes-extended/tsntool/tsntool_git.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "Configure TSN funtionalitie" | ||
| 2 | DESCRIPTION = "A tool to configure TSN funtionalities in user space" | ||
| 3 | LICENSE = "GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" | ||
| 5 | |||
| 6 | DEPENDS = "cjson libnl readline" | ||
| 7 | |||
| 8 | inherit pkgconfig | ||
| 9 | |||
| 10 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/tsntool;protocol=https;nobranch=1" | ||
| 11 | SRCREV = "30a0320eb4a1798ac3d6258a2e02d863e60a1582" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_compile_prepend() { | ||
| 16 | mkdir -p ${S}/include/linux | ||
| 17 | cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux | ||
| 18 | } | ||
| 19 | do_install() { | ||
| 20 | install -d ${D}${bindir} ${D}${libdir} | ||
| 21 | install -m 0755 ${S}/tsntool ${D}${bindir} | ||
| 22 | install -m 0755 ${S}/tools/event ${D}${bindir}/ | ||
| 23 | install -m 0755 ${S}/tools/timestamping ${D}${bindir}/ | ||
| 24 | install -m 0755 ${S}/libtsn.so ${D}${libdir} | ||
| 25 | } | ||
| 26 | |||
| 27 | PACKAGES = "${PN}-dbg ${PN}" | ||
| 28 | FILES_${PN} = "${libdir}/libtsn.so ${bindir}/*" | ||
| 29 | INSANE_SKIP_${PN} += "file-rdeps rpaths dev-so" | ||
| 30 | COMPATIBLE_MACHINE = "(qoriq)" | ||
| 31 | PARALLEL_MAKE = "" | ||
