From bc9457c111d8d2898037c8a25c9b968264c88e28 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 24 Dec 2019 18:09:35 -0600 Subject: user/libdrm: enable more thingies on ARM --- user/libdrm/APKBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/user/libdrm/APKBUILD b/user/libdrm/APKBUILD index 3e39a6dbc..59c09b360 100644 --- a/user/libdrm/APKBUILD +++ b/user/libdrm/APKBUILD @@ -10,15 +10,21 @@ options="!check" license="MIT" depends="" depends_dev="linux-headers" +checkdepends="bash cunit-dev" makedepends="$depends_dev bash eudev-dev libpciaccess-dev libpthread-stubs xmlto" -checkdepends="bash cunit-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2 ioctl.patch " build() { + case $CARCH in + arm*|aarch64*) _arch_conf="--enable-omap-experimental-api + --enable-exynos-experimental-api + --enable-tegra-experimental-api" ;; + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -26,9 +32,9 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ - --enable-freedreno \ --enable-udev \ - --disable-valgrind + --disable-valgrind \ + $_arch_conf make } -- cgit v1.2.3-70-g09d2