mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
wayland: only remove libwayland-egl if not using vc4graphics, e.g. when using userland
Related to PR #247. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
This commit is contained in:
parent
1fb4dcc0b5
commit
7f7bc9e778
|
@ -1,6 +1,7 @@
|
||||||
# remove provided `libwayland-egl` library in favour of the version in `userland` until fully tested
|
# until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics
|
||||||
|
|
||||||
do_install_append_rpi () {
|
do_install_append_rpi () {
|
||||||
|
if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then
|
||||||
rm -f ${D}${libdir}/libwayland-egl*
|
rm -f ${D}${libdir}/libwayland-egl*
|
||||||
rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
|
rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user