summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-24 18:09:35 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-24 18:09:35 -0600
commitbc9457c111d8d2898037c8a25c9b968264c88e28 (patch)
tree7c856e3671543ca6d1bec669399c0001ed73f870 /user
parent4a5562b4b7959720a05578a74713bafb83d6cb9c (diff)
downloadpackages-bc9457c111d8d2898037c8a25c9b968264c88e28.tar.gz
packages-bc9457c111d8d2898037c8a25c9b968264c88e28.tar.bz2
packages-bc9457c111d8d2898037c8a25c9b968264c88e28.tar.xz
packages-bc9457c111d8d2898037c8a25c9b968264c88e28.zip
user/libdrm: enable more thingies on ARM
Diffstat (limited to 'user')
-rw-r--r--user/libdrm/APKBUILD12
1 files 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
}