summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-08-09 12:30:05 +0300
committerJordan Justen <[email protected]>2019-08-28 13:38:34 -0700
commitda603c066e3fd5d70cc70ff8f7ffb9aa4db85016 (patch)
tree1bda69389b8cd76be1f960f86365ef76e51e3850 /src/gallium/drivers
parent44ab7c265fdb511077b120ee40c0d6af0125e276 (diff)
iris: build android libmesa_iris for gen12
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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)