summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@android-x86.org>2015-05-20 11:25:34 +0800
committerEric Anholt <eric@anholt.net>2015-06-09 12:25:50 -0700
commit1842832660c4eade037caa760110b58a2d7f055b (patch)
treef02b83a444a09087c616ec32cc9d6f3dfb292367 /Android.mk
parent1e4081f54aa5c6cba566ed549389d847bf7e6799 (diff)
android: enable the radeonsi driver
Based on the nice work of Paulo Sergio Travaglia <pstglia@gmail.com>. The main modifications are: - Include paths for LLVM header files and shared/static libraries - Set C++ flag "c++11" to avoid compiling errors on LLVM header files - Set defines for LLVM - Add GALLIVM source files - Changes path of libelf library for lollipop Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw> Acked-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6a09a9db177..341978a68c6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -80,6 +80,8 @@ else
MESA_BUILD_GALLIUM := false
endif
+MESA_ENABLE_LLVM := $(if $(filter radeonsi,$(MESA_GPU_DRIVERS)),true,false)
+
# add subdirectories
ifneq ($(strip $(MESA_GPU_DRIVERS)),)