[Mesa-dev] [PATCH 4/6] Android: enable building on arm64
Emil Velikov
emil.l.velikov at gmail.com
Sun Jan 31 02:17:15 PST 2016
On 29 January 2016 at 20:52, Rob Herring <robh at kernel.org> wrote:
> Define the DEFAULT_DRIVER_DIR for arm64 builds.
>
> Cc: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: 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\"
Wondering if there isn't a generic "64bit systems CFLAGS" for Android
that we can reused here ?
-Emil
More information about the mesa-dev
mailing list