diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-15 10:50:39 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-21 14:20:07 -0300 |
| commit | 9f6ab91ab3f8ccbcf140ae8d27675d053fc954ab (patch) | |
| tree | 33e977d74f07a5ef89173324affeff3aaf6c3f82 | |
| parent | aba3263ed1fdabdd596ad11967591a7d9fa0d8b5 (diff) | |
| download | meta-freescale-9f6ab91ab3f8ccbcf140ae8d27675d053fc954ab.tar.gz | |
tsntool: Add SECTION, tidy SRC_URI and document findings per oelint
Address the oelint findings for the recipe:
- Add SECTION = "console/network".
- Drop the redundant FILESEXTRAPATHS:prepend. The only local file (the
BIN_LDFLAGS patch) lives in ${THISDIR}/${PN}, which is already part of
the default FILESPATH (${FILE_DIRNAME}/${BPN}), so the override was a
no-op and tripped outofcontext/fileextrapaths in this plain recipe.
- Fold the separate SRC_URI:append patch entry into the main SRC_URI so
it precedes SRCREV (order.SRC_URI).
- Keep the explicit FILES:${PN} (the unversioned libtsn.so is
intentionally shipped in the main package, matching the dev-so skip)
and the INSANE_SKIP, accepting both with an inline # nooelint.
No functional change.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
| -rw-r--r-- | recipes-extended/tsntool/tsntool_git.bb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb index f2911ddab..87066fa6c 100644 --- a/recipes-extended/tsntool/tsntool_git.bb +++ b/recipes-extended/tsntool/tsntool_git.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | SUMMARY = "Configure TSN funtionalitie" | 1 | SUMMARY = "Configure TSN funtionalitie" |
| 2 | DESCRIPTION = "A tool to configure TSN funtionalities in user space" | 2 | DESCRIPTION = "A tool to configure TSN funtionalities in user space" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/tsntool" | 3 | HOMEPAGE = "https://github.com/nxp-qoriq/tsntool" |
| 4 | SECTION = "console/network" | ||
| 4 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" |
| 6 | 7 | ||
| @@ -8,14 +9,10 @@ DEPENDS = "cjson libnl readline" | |||
| 8 | 9 | ||
| 9 | inherit pkgconfig | 10 | inherit pkgconfig |
| 10 | 11 | ||
| 11 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 12 | SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1 \ |
| 12 | 13 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ | |
| 13 | SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1" | ||
| 14 | SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" | ||
| 15 | |||
| 16 | SRC_URI:append = " \ | ||
| 17 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ | ||
| 18 | " | 14 | " |
| 15 | SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" | ||
| 19 | 16 | ||
| 20 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 17 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 21 | 18 | ||
| @@ -30,7 +27,12 @@ do_install() { | |||
| 30 | } | 27 | } |
| 31 | 28 | ||
| 32 | PACKAGES = "${PN}-dbg ${PN}" | 29 | PACKAGES = "${PN}-dbg ${PN}" |
| 30 | # libtsn.so is an unversioned runtime .so deliberately kept in the main | ||
| 31 | # package (hence the dev-so skip), so FILES:${PN} is set explicitly. | ||
| 32 | # nooelint: oelint.var.filesoverride | ||
| 33 | FILES:${PN} = "${libdir}/libtsn.so ${bindir}/*" | 33 | FILES:${PN} = "${libdir}/libtsn.so ${bindir}/*" |
| 34 | # Prebuilt-style .so with vendored rpaths and runtime deps QA can't map. | ||
| 35 | # nooelint: oelint.vars.insaneskip | ||
| 34 | INSANE_SKIP:${PN} += "file-rdeps rpaths dev-so" | 36 | INSANE_SKIP:${PN} += "file-rdeps rpaths dev-so" |
| 35 | COMPATIBLE_MACHINE = "(qoriq)" | 37 | COMPATIBLE_MACHINE = "(qoriq)" |
| 36 | PARALLEL_MAKE = "" | 38 | PARALLEL_MAKE = "" |
