xref: /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/wayland_%.bbappend (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# Copyright (C) 2019, Fuzhou Rockchip Electronics Co., Ltd
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4PACKAGECONFIG[no-egl] = ""
5
6do_install:append:rockchip() {
7	if ${@bb.utils.contains('PACKAGECONFIG', 'no-egl', 'true', 'false', d)}; then
8		rm -rf ${D}/${includedir}/wayland-egl*.h
9		rm -rf ${D}/${libdir}/libwayland-egl*
10		rm -rf ${D}/${libdir}/pkgconfig/wayland-egl*
11	fi
12}
13