kmsxx: Revert to using original name for kmstest

Earlier both libdrm[1] and kmsxx[2] projects used to provide a binary
program called kmstest. To avoid the clash, the kmsxx recipe was
updated to rename this binary to kmsxxtest during installation. However
libdrm project has now removed kmstest[3] and hence there is no clash
in naming anymore, so revert back to original name of binary i.e.
kmstest.

[1]: https://gitlab.freedesktop.org/mesa/libdrm.git
[2]: https://github.com/tomba/kmsxx
[3]: https://gitlab.freedesktop.org/mesa/libdrm.git
commit: 2b997bb4bb688be00620887c8646ff24ccb9396b

Signed-off-by: Swamil Jain <s-jain1@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Swamil Jain 2025-07-15 23:13:21 +05:30 committed by Khem Raj
parent f5dea53141
commit 7692f40f5b
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -20,15 +20,7 @@ PACKAGECONFIG[utils] += "-Dutils=true, -Dutils=false"
DEPENDS += "libdrm libevdev fmt"
inherit meson pkgconfig
do_install:append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'utils', 'true', 'false', d)}; then
# kmstest already provided by libdrm-tests
mv ${D}${bindir}/kmstest ${D}${bindir}/kmsxxtest
fi
}
FILES:${PN} = "${bindir} ${libdir}"
FILES:${PN}-python += "${PYTHON_SITEPACKAGES_DIR}/*"