aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/wayland_%.bbappend
blob: ca2b2961e456ab5a42cf6f6eae22eb8a820f5684 (plain)
1
2
3
4
5
6
7
# until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics
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}/pkgconfig/wayland-egl.pc
    fi
}