aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-02-26 10:21:32 +0200
committerTapani Pälli <[email protected]>2019-02-27 08:57:41 +0200
commitd1af8115f828fbebcf1201a077e2a93d233ce0e0 (patch)
treedb5b324523b9dad743b2832658c87878f74c4bc8 /src/gallium
parent5e52184f722b70c024bec6dc0872cbf6553a1d82 (diff)
iris: add libmesa_iris_gen8 library to the build
Patch fixes iris build on Android. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/Android.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/Android.mk b/src/gallium/drivers/iris/Android.mk
index 371567a6707..ba59eb566bb 100644
--- a/src/gallium/drivers/iris/Android.mk
+++ b/src/gallium/drivers/iris/Android.mk
@@ -41,6 +41,26 @@ IRIS_COMMON_INCLUDES := \
$(MESA_TOP)/src/gallium/auxiliary
#
+# libiris for gen8
+#
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libmesa_iris_gen8
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+
+LOCAL_SRC_FILES := $(LIBIRIS_SRC_FILES)
+LOCAL_CFLAGS := -DGEN_VERSIONx10=80
+
+LOCAL_C_INCLUDES := $(IRIS_COMMON_INCLUDES)
+
+LOCAL_STATIC_LIBRARIES := $(LIBIRIS_STATIC_LIBS)
+
+LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_genxml
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
+
+#
# libiris for gen9
#
@@ -126,6 +146,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
libmesa_blorp \
libmesa_intel_common \
libmesa_intel_compiler \
+ libmesa_iris_gen8 \
libmesa_iris_gen9 \
libmesa_iris_gen10 \
libmesa_iris_gen11