summaryrefslogtreecommitdiff
path: root/src/Android.mk
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-03-19 21:20:49 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-03-25 03:30:43 +0800
commitf84d94632227ace654d3f9e7e0e4a686ef906483 (patch)
tree4eef3995ac38f7fb4cde46624000d1d8b02e9543 /src/Android.mk
parent66c6b2520d0b51b51e9632146db92ab4cad30762 (diff)
android: fix building
Diffstat (limited to 'src/Android.mk')
-rw-r--r--src/Android.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Android.mk b/src/Android.mk
index 7c306dd..204b380 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -40,10 +40,12 @@ MESA_BUILD_I965C := false
# Gallium drivers
MESA_BUILD_GALLIUM := false
MESA_BUILD_I915G := false
+MESA_BUILD_R600G := false
MESA_BUILD_SWRAST := false
# gralloc modules
MESA_BUILD_INTEL := false
+MESA_BUILD_RADEON := false
MESA_BUILD_VMWGFX := false
MESA_DO_BUILD := false
@@ -75,6 +77,15 @@ MESA_BUILD_INTEL := true
MESA_DO_BUILD := true
endif
+ifeq ($(strip $(BOARD_USES_R600G)),true)
+MESA_BUILD_GALLIUM := true
+MESA_BUILD_R600G := true
+# gralloc
+MESA_BUILD_RADEON := true
+
+MESA_DO_BUILD := true
+endif
+
ifeq ($(strip $(BOARD_USES_VMWGFX)),true)
MESA_BUILD_GALLIUM := true
MESA_BUILD_SWRAST := true