summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorRobert Foss <[email protected]>2019-10-22 19:31:52 +0200
committerRobert Foss <[email protected]>2019-10-31 10:03:54 +0100
commitf140467b5b43bc30046aa57247897e68ae13707a (patch)
treec98b824427b54d9a43f6d5ea1be96e36d660ea23 /Android.mk
parent6f3f855320f5dda6138215c9877a8e4e75b394ae (diff)
android: Add panfrost support to build scripts
Currently the Android build system doesn't expose the panfrost driver. This patch enables the panfrost driver to be build on for the Android platform. Signed-off-by: Robert Foss <[email protected]> Reviewed-By: Rohan Garg <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 16e385e162b..19d9e1e0a74 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,7 +24,7 @@
# BOARD_GPU_DRIVERS should be defined. The valid values are
#
# classic drivers: i915 i965
-# gallium drivers: swrast freedreno i915g nouveau kmsro r300g r600g radeonsi vc4 virgl vmwgfx etnaviv iris lima
+# gallium drivers: swrast freedreno i915g nouveau kmsro r300g r600g radeonsi vc4 virgl vmwgfx etnaviv iris lima panfrost
#
# The main target is libGLES_mesa. For each classic driver enabled, a DRI
# module will also be built. DRI modules will be loaded by libGLES_mesa.
@@ -61,7 +61,8 @@ gallium_drivers := \
virgl.HAVE_GALLIUM_VIRGL \
etnaviv.HAVE_GALLIUM_ETNAVIV \
iris.HAVE_GALLIUM_IRIS \
- lima.HAVE_GALLIUM_LIMA
+ lima.HAVE_GALLIUM_LIMA \
+ panfrost.HAVE_GALLIUM_PANFROST
ifeq ($(BOARD_GPU_DRIVERS),all)
MESA_BUILD_CLASSIC := $(filter HAVE_%, $(subst ., , $(classic_drivers)))