mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01: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>
20 lines
320 B
Bash
Executable file
20 lines
320 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
[ $# -lt 2 ] && {
|
|
echo "usage: $0 <dest dir> <source library>"
|
|
exit 1
|
|
}
|
|
|
|
DEST_DIR="${MESON_INSTALL_DESTDIR_PREFIX:-/usr}/$1"
|
|
SOURCE="$(basename $2)"
|
|
|
|
# Replace dummy library
|
|
cd "$DEST_DIR"
|
|
cp $SOURCE libmali.so
|
|
cp -a libmali.so $SOURCE
|
|
|
|
if [ -f libMali.so ]; then
|
|
cp -a libmali.so libMali.so
|
|
fi
|
|
|
|
exit 0
|