mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
2ee46eed41
* Current PV 3.4 is the kernel version when the recipe is newly added,
set PKGV to KERNEL_VERSION to make it always align with kernel version
* turbostat has its runtime version, set CHECK_VERSION_PV to this version to mute
the version mismatch warning
[snip of turbostat.c]
void print_version()
{
fprintf(outf, "turbostat version 2024.07.26 - Len Brown <lenb@kernel.org>\n");
}
[snip]
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
26 lines
945 B
Plaintext
26 lines
945 B
Plaintext
INHERIT += "check-version-mismatch"
|
|
# we need ps command to clean stale processes
|
|
HOSTTOOLS += "ps"
|
|
|
|
# Special cases that need to be handled.
|
|
# % has the same meaning as in bbappend files, that is, match any chars.
|
|
|
|
# oe-core
|
|
CHECK_VERSION_PV:pn-rust-llvm = "${LLVM_RELEASE}"
|
|
CHECK_VERSION_PV:pn-igt-gpu-tools = "${PV}-${PV}"
|
|
CHECK_VERSION_PV:pn-vim = "${@'.'.join(d.getVar('PV').split('.')[:-1])}"
|
|
CHECK_VERSION_PV:pn-vim-tiny = "${@'.'.join(d.getVar('PV').split('.')[:-1])}"
|
|
CHECK_VERSION_PV:pn-ncurses = "${PV}.%"
|
|
CHECK_VERSION_PV:pn-alsa-tools = "%"
|
|
CHECK_VERSION_PV:pn-gst-examples = "%"
|
|
CHECK_VERSION_PV:pn-libedit = "${@d.getVar('PV').split('-')[1]}"
|
|
|
|
# meta-oe
|
|
CHECK_VERSION_PV:pn-iozone3 = "3.${PV}"
|
|
CHECK_VERSION_PV:pn-can-utils = "%"
|
|
CHECK_VERSION_PV:pn-luajit = "${PV}.%"
|
|
CHECK_VERSION_PV:pn-sg3-utils = "%"
|
|
CHECK_VERSION_PV:pn-netperf = "2.7.%"
|
|
CHECK_VERSION_PV:pn-bridge-utils = "1.7%"
|
|
CHECK_VERSION_PV:pn-turbostat = "2024.07.26"
|