buildfixes for 32 bit PC (#1951)

* libva: enable 32bit PC

* mesa: fix build for 32 bit PC

* build_all: add 32bit PC
This commit is contained in:
Tomáš Kelemen 2024-04-02 23:55:09 +02:00 committed by GitHub
parent 986bfe7701
commit d197bf3928
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 1 deletions

View File

@ -84,10 +84,11 @@ targets="\
Allwinner|R40|arm|image \
Amlogic|AMLGX|aarch64|image \
Ayn|Odin|aarch64|image \
Generic|Generic|i386|image \
Generic|Generic|x86_64|image \
L4T|Switch|aarch64|image \
Generic|wayland|x86_64|image \
Generic|x11|x86_64|image \
L4T|Switch|aarch64|image \
NXP|iMX6|arm|image \
NXP|iMX8|aarch64|image \
Rockchip|RK3288|arm|image \

View File

@ -116,6 +116,11 @@ else
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers="
fi
if [ "${ARCH}" = "i386" ]; then
TARGET_ARCH="x86"
TARGET_SUBARCH="x86"
fi
post_makeinstall_target() {
if [ "${PROJECT}" = "L4T" ]; then
safe_remove ${INSTALL}/usr/lib/libgbm.so.1

View File

@ -11,6 +11,10 @@ PKG_SITE="https://01.org/linuxmedia"
PKG_URL="https://github.com/intel/libva/archive/${PKG_VERSION}.tar.gz"
PKG_LONGDESC="Libva is an implementation for VA-API (VIdeo Acceleration API)."
if [ "${DISTRO}" = "Lakka" ]; then
PKG_ARCH+=" i386"
fi
if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_DEPENDS_TARGET="toolchain libX11 libXext libXfixes libdrm"
DISPLAYSERVER_LIBVA="-Dwith_x11=yes -Dwith_glx=no -Dwith_wayland=no"