mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
Mesa: fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4771c7b112
commit
b07c861da1
@ -43,26 +43,22 @@ for drv in $GRAPHIC_DRIVERS; do
|
||||
[ "$drv" = i965 ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-i965/disable-gallium-i965/'`
|
||||
|
||||
[ "$drv" = radeon ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-radeon/disable-gallium-radeon/'`
|
||||
|
||||
[ "$drv" = r300 ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-r300/disable-gallium-r300/'`
|
||||
[ "$drv" = r300 -o "$drv" = radeon ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-radeon/enable-gallium-radeon/'` && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-r300/enable-gallium-r300/'` && \
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx --enable-gallium"
|
||||
|
||||
[ "$drv" = r600 ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium/enable-gallium/'` && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-r600/enable-gallium-r600/'`
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx"
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-r600/enable-gallium-r600/'` && \
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx --enable-gallium"
|
||||
|
||||
[ "$drv" = nouveau ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium/enable-gallium/'` && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-nouveau/enable-gallium-nouveau/'` && \
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx"
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx --enable-gallium"
|
||||
|
||||
[ "$drv" = vmware ] && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium/enable-gallium/'` && \
|
||||
MESA_CONFIG=`echo $MESA_CONFIG | sed -e 's/disable-gallium-svga/enable-gallium-svga/'` && \
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx"
|
||||
MESA_CONFIG="$MESA_CONFIG --with-state-trackers=dri,glx --enable-gallium"
|
||||
done
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
Loading…
x
Reference in New Issue
Block a user