[Mesa-dev] [PATCH 4/6] Android: enable building on arm64
Rob Herring
robh at kernel.org
Fri Jan 29 10:52:26 PST 2016
Define the DEFAULT_DRIVER_DIR for arm64 builds.
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Cc: Chih-Wei Huang <cwhuang at android-x86.org>
Signed-off-by: Rob Herring <robh at kernel.org>
---
src/egl/Android.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/egl/Android.mk b/src/egl/Android.mk
index ebd67af..ad902a0 100644
--- a/src/egl/Android.mk
+++ b/src/egl/Android.mk
@@ -44,6 +44,7 @@ LOCAL_CFLAGS := \
-DHAVE_ANDROID_PLATFORM
ifeq ($(MESA_LOLLIPOP_BUILD),true)
+LOCAL_CFLAGS_arm64 := -DDEFAULT_DRIVER_DIR=\"/system/lib64/dri\"
LOCAL_CFLAGS_arm := -DDEFAULT_DRIVER_DIR=\"/system/lib/dri\"
LOCAL_CFLAGS_x86 := -DDEFAULT_DRIVER_DIR=\"/system/lib/dri\"
LOCAL_CFLAGS_x86_64 := -DDEFAULT_DRIVER_DIR=\"/system/lib64/dri\"
--
2.5.0
More information about the mesa-dev
mailing list