mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 03:52:39 +02:00
This was motivated by remembering that both xserver-xorg and xorgxrdp need to ignore the xorg-driver-abi test in do_package_qa because the logic to generate the required dependencies is contained in xorg-driver-common.inc, so can't be reused easily by the xserver (which ships the modesetting driver) or xorgxrdp (which ships drivers and more). Merge both the RPROVIDES (xserver) and RDEPENDS (driver) functions into a single xserver-abi.inc to ensure that their logic remains in sync. Generalise the names: instead of hardcoding 'input' and 'video' extract the ABI names from the pkg-config file directly. This means 'input' is now 'xinput' and 'video' is now 'videodrv', also 'ansic' and 'extension' are new ABIs exposed. Rewrite the RDEPENDS generation so that it is more flexible, and can be used from inside the xserver-xorg recipe to generate RDEPENDS for the modesetting driver. This means that recipe can remove the INSANE_SKIP. There's an argument that this new .inc file could be a bbclass, I'm undecided on this myself right now and this patch is essentially a rationalisation of the existing code. (From OE-Core rev: f40b36fb089f6ccd4fb25373ed4cb57fae78a79f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 lines
263 B
PHP
11 lines
263 B
PHP
require xorg-driver-common.inc
|
|
|
|
python add_xorg_abi_depends() {
|
|
_add_xorg_abi_depends(d, "xinput")
|
|
}
|
|
PACKAGEFUNCS =+ "add_xorg_abi_depends"
|
|
|
|
FILES:${PN} += " ${libdir}/xorg/modules/input/*.so \
|
|
${datadir}/X11/xorg.conf.d \
|
|
"
|