summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/iris/Android.mk22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/Android.mk b/src/gallium/drivers/iris/Android.mk
index 71ec0cf58f9..cb80265c35f 100644
--- a/src/gallium/drivers/iris/Android.mk
+++ b/src/gallium/drivers/iris/Android.mk
@@ -121,6 +121,25 @@ LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_genxml
include $(MESA_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)
+#
+# libiris for gen12
+#
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libmesa_iris_gen12
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+
+LOCAL_SRC_FILES := $(LIBIRIS_SRC_FILES)
+LOCAL_CFLAGS := -DGEN_VERSIONx10=120
+
+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)
###########################################################
include $(CLEAR_VARS)
@@ -169,7 +188,8 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
libmesa_iris_gen8 \
libmesa_iris_gen9 \
libmesa_iris_gen10 \
- libmesa_iris_gen11
+ libmesa_iris_gen11 \
+ libmesa_iris_gen12
include $(GALLIUM_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)