diff options
author | Chih-Wei Huang <[email protected]> | 2015-05-20 11:25:28 +0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-06-09 11:38:45 -0700 |
commit | 933df3d3350867282d7334c94abf1ec677d78029 (patch) | |
tree | f7983a019213fb6062e219e02deb7fd5517c9631 /src/gallium/Android.mk | |
parent | f4f609b27e4fbefb52b84b617051fb4cdba45c8f (diff) |
android: add rules to build a gallium_dri.so
This single .so includes all of the enabled gallium drivers.
Signed-off-by: Chih-Wei Huang <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/Android.mk')
-rw-r--r-- | src/gallium/Android.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/Android.mk b/src/gallium/Android.mk index aaa07bcf6ff..a9c34d9146c 100644 --- a/src/gallium/Android.mk +++ b/src/gallium/Android.mk @@ -33,7 +33,9 @@ SUBDIRS := auxiliary # # swrast -SUBDIRS += winsys/sw/android drivers/softpipe +ifneq ($(filter swrast,$(MESA_GPU_DRIVERS)),) +SUBDIRS += winsys/sw/dri winsys/sw/kms-dri drivers/softpipe +endif # freedreno ifneq ($(filter freedreno, $(MESA_GPU_DRIVERS)),) @@ -79,6 +81,7 @@ ifneq ($(filter vmwgfx, $(MESA_GPU_DRIVERS)),) SUBDIRS += winsys/svga/drm drivers/svga endif -SUBDIRS += state_trackers/dri +# Gallium state trackers and target for dri +SUBDIRS += state_trackers/dri targets/dri include $(call all-named-subdir-makefiles,$(SUBDIRS)) |