You've already forked libmali-rockchip
mirror of
https://github.com/armbian/libmali-rockchip.git
synced 2026-01-06 12:03:41 -08:00
Major changes: 1/ Add gbm_bo_create_with_modifiers2 and gbm_surface_create_with_modifiers2. 2/ Add headers for different versions of GBM. 3/ Detect platforms from library content. Change-Id: Iaca158a926f5fe8c14698eb7e2ad5a427eb1632c Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
15 lines
242 B
Bash
Executable File
15 lines
242 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
[ $# -lt 1 ] && {
|
|
echo "usage: $0 <path of include>"
|
|
exit 1
|
|
}
|
|
|
|
HEADER="${MESON_INSTALL_DESTDIR_PREFIX:-/usr}/$1/EGL/eglplatform.h"
|
|
|
|
if [ -f "$HEADER" ]; then
|
|
sed -i 's/MESA_EGL_NO_X11_HEADERS/__unix__/g' "$HEADER"
|
|
fi
|
|
|
|
exit 0
|