aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/wayland_%.bbappend
blob: e5bbf4aaabba4eacbc73137af3132bb1f2fd0e4e (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
}