mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
mesa: allow use of mesa-reusable host tools
This commit is contained in:
@@ -273,3 +273,6 @@
|
||||
# - mesa:host
|
||||
# - save-local (saves a copy in sources/reusable/<package>
|
||||
BUILD_REUSABLE=""
|
||||
|
||||
# should reusable host tools be used (yes / no)
|
||||
USE_REUSABLE="no"
|
||||
|
||||
@@ -64,7 +64,11 @@ if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(iris|panfrost)"; then
|
||||
if [ "${USE_REUSABLE}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" mesa-reusable"
|
||||
else
|
||||
PKG_DEPENDS_TARGET+=" mesa:host"
|
||||
fi
|
||||
PKG_MESON_OPTS_TARGET+=" -Dmesa-clc=system -Dprecomp-compiler=system"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user