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
|
# - 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user