You've already forked libmali-rockchip
mirror of
https://github.com/armbian/libmali-rockchip.git
synced 2026-01-06 12:03:41 -08:00
Support dummy platform
Currently we are supporting these platforms: x11 gbm wayland only-cl dummy Change-Id: I82e01c068730e83dccc10c23e2c9ea528aeac920 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -6,7 +6,7 @@ option('version', type: 'string', value: 'r18p0',
|
||||
description: 'GPU version (default: r18p0)')
|
||||
option('subversion', type: 'string', value: 'none',
|
||||
description: 'subversion (default: none)')
|
||||
option('platform', type: 'combo', choices: ['x11', 'gbm', 'wayland', 'only-cl'],
|
||||
option('platform', type: 'combo', choices: ['x11', 'gbm', 'wayland', 'only-cl', 'dummy'],
|
||||
value: 'x11', description: 'platform (default: x11)')
|
||||
option('with-overlay', type: 'boolean', value: 'false',
|
||||
description: 'install overlay (default: false)')
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
rm -f $(find . -name "*fbdev*.so")
|
||||
|
||||
# Link x11 libs
|
||||
X11_LIBS=$(find . -name "*.so"|grep -vE "gbm.so|wayland.so|x11.so|only-cl.so")
|
||||
X11_LIBS=$(find . -name "*.so"|grep -vE "gbm.so|wayland.so|x11.so|only-cl.so|dummy.so")
|
||||
for lib in $X11_LIBS;do
|
||||
mv $lib ${lib%.so}-x11.so 2>/dev/null
|
||||
done
|
||||
|
||||
@@ -11,7 +11,7 @@ parse_name() {
|
||||
GPU=$(echo $1|cut -d'-' -f'2,3')
|
||||
VERSION=$(echo $1|cut -d'-' -f4)
|
||||
|
||||
PLATFORM=$(echo $1 | grep -owE "gbm|wayland|x11|only-cl")
|
||||
PLATFORM=$(echo $1 | grep -owE "gbm|wayland|x11|only-cl|dummy")
|
||||
[ -z "$PLATFORM" ] && PLATFORM=x11
|
||||
|
||||
SUBVERSION=$(echo ${1%-$PLATFORM}|cut -d'-' -f'5-')
|
||||
|
||||
Reference in New Issue
Block a user