iris: build android libmesa_iris for gen12
authorTapani Pälli <tapani.palli@intel.com>
Fri, 9 Aug 2019 09:30:05 +0000 (12:30 +0300)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 28 Aug 2019 20:38:34 +0000 (13:38 -0700)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/Android.mk

index 71ec0cf58f9d23f209056d1106511afb065cb60e..cb80265c35f8b1a85b6f7fbd909b61423e3a0eb6 100644 (file)
@@ -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)