On Sun, Jan 31, 2016 at 4:17 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 29 January 2016 at 20:52, Rob Herring <r...@kernel.org> wrote: >> Define the DEFAULT_DRIVER_DIR for arm64 builds. >> >> Cc: Emil Velikov <emil.l.veli...@gmail.com> > Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> > >> Cc: Chih-Wei Huang <cwhu...@android-x86.org> >> Signed-off-by: Rob Herring <r...@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\" > > Wondering if there isn't a generic "64bit systems CFLAGS" for Android > that we can reused here ?
That would be nice or a dlopen that could figure this out. The result is this or #ifdefs in the source code are littered throughout the Android tree. But nothing like that exists that I've seen. Rob _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev