mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00
cdv-pvr-driver: add xorg-abi-video- dependency
xserver changes the driver ABI at will, and refuses to load drivers with the wrong ABI version. So that we know about this error at image build time instead of when xserver fails to start, RDEPEND on the ABI version we expect. This dependency is added programmatically so that bitbake doesn't look for a provider of xorg-abi-video-8 at parse time, which it won't find. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
parent
b5610a7fd4
commit
606f2a8799
|
@ -88,6 +88,15 @@ FILES_${PN} += "${datadir}/doc/pvr-bin-cdv-${PVR-BIN-REV_LIC}/license.txt"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "xserver-xorg-module-exa"
|
RDEPENDS_${PN} = "xserver-xorg-module-exa"
|
||||||
|
|
||||||
|
# Add the ABI dependency at package generation time, as otherwise bitbake will
|
||||||
|
# attempt to find a provider for it (and fail) when it does the parse.
|
||||||
|
#
|
||||||
|
# This version *must* be kept correct.
|
||||||
|
python populate_packages_prepend() {
|
||||||
|
pn = d.getVar("PN", True)
|
||||||
|
d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-8")
|
||||||
|
}
|
||||||
|
|
||||||
TARGET_CC_ARCH += "${CFLAGS}{LDFLAGS}"
|
TARGET_CC_ARCH += "${CFLAGS}{LDFLAGS}"
|
||||||
INSANE_SKIP_${PN} += "ldflags"
|
INSANE_SKIP_${PN} += "ldflags"
|
||||||
INSANE_SKIP_${PN}-dbg += "ldflags"
|
INSANE_SKIP_${PN}-dbg += "ldflags"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user