From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../recipes-extended/tsntool/tsntool_git.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 bsp/meta-freescale/recipes-extended/tsntool/tsntool_git.bb (limited to 'bsp/meta-freescale/recipes-extended/tsntool/tsntool_git.bb') diff --git a/bsp/meta-freescale/recipes-extended/tsntool/tsntool_git.bb b/bsp/meta-freescale/recipes-extended/tsntool/tsntool_git.bb new file mode 100644 index 00000000..5694e91c --- /dev/null +++ b/bsp/meta-freescale/recipes-extended/tsntool/tsntool_git.bb @@ -0,0 +1,31 @@ +SUMMARY = "Configure TSN funtionalitie" +DESCRIPTION = "A tool to configure TSN funtionalities in user space" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" + +DEPENDS = "cjson libnl readline" + +inherit pkgconfig + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/tsntool;protocol=https;nobranch=1" +SRCREV = "ca2d8fb348bb54960d706177108c43ae213e0063" + +S = "${WORKDIR}/git" + +do_configure[depends] += "virtual/kernel:do_shared_workdir" + +do_compile_prepend() { + mkdir -p ${S}/include/linux + cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux +} +do_install() { + install -d ${D}${bindir} ${D}${libdir} + install -m 0755 ${S}/tsntool ${D}${bindir} + install -m 0755 ${S}/libtsn.so ${D}${libdir} +} + +PACKAGES = "${PN}-dbg ${PN}" +FILES_${PN} = "${libdir}/libtsn.so ${bindir}/*" +INSANE_SKIP_${PN} += "file-rdeps rpaths dev-so" +COMPATIBLE_MACHINE = "(qoriq)" +PARALLEL_MAKE = "" -- cgit 1.2.3-korg