Module: Mesa
Branch: master
Commit: 0ba2d2652549b10e7a6269c41cfd29afd81dc324
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ba2d2652549b10e7a6269c41cfd29afd81dc324

Author: Rob Herring <r...@kernel.org>
Date:   Thu Sep  7 15:31:26 2017 -0500

Android: Add LLVM support for Android P

The Android version in AOSP master has changed now to P, so we need to add
LLVM flags for it. Duplicating the lines because I expect the version will
get bumped at some point and diverge from O.

Cc: Chih-Wei Huang <cwhu...@android-x86.org>
Signed-off-by: Rob Herring <r...@kernel.org>

---

 Android.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Android.mk b/Android.mk
index e03eb71612..9dc0bbd1d7 100644
--- a/Android.mk
+++ b/Android.mk
@@ -97,6 +97,8 @@ define mesa-build-with-llvm
     $(eval LOCAL_CFLAGS += -DHAVE_LLVM=0x0308 -DMESA_LLVM_VERSION_PATCH=0)) \
   $(if $(filter 8,$(MESA_ANDROID_MAJOR_VERSION)), \
     $(eval LOCAL_CFLAGS += -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=0)) \
+  $(if $(filter P,$(MESA_ANDROID_MAJOR_VERSION)), \
+    $(eval LOCAL_CFLAGS += -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=0)) \
   $(eval LOCAL_SHARED_LIBRARIES += libLLVM)
 endef
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to