Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | # until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 2 | do_install:append:rpi () { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 3 | if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then |
| 4 | rm -f ${D}${libdir}/libwayland-egl* |
| 5 | rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc |
| 6 | fi |
| 7 | } |