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