mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
mesa: allow use of mesa-reusable host tools
This commit is contained in:
parent
5b2ceba7f2
commit
1c2dc44437
@ -278,3 +278,6 @@
|
|||||||
# - mesa:host
|
# - mesa:host
|
||||||
# - save-local (saves a copy in sources/reusable/<package>
|
# - save-local (saves a copy in sources/reusable/<package>
|
||||||
BUILD_REUSABLE=""
|
BUILD_REUSABLE=""
|
||||||
|
|
||||||
|
# should reusable host tools be used (yes / no)
|
||||||
|
USE_REUSABLE="no"
|
||||||
|
@ -64,7 +64,11 @@ if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "(iris|panfrost)"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "(iris|panfrost)"; then
|
||||||
PKG_DEPENDS_TARGET+=" mesa:host"
|
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"
|
PKG_MESON_OPTS_TARGET+=" -Dmesa-clc=system -Dprecomp-compiler=system"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user