intel/isl: build android libmesa_isl for gen12
authorTapani Pälli <tapani.palli@intel.com>
Fri, 9 Aug 2019 09:31:42 +0000 (12:31 +0300)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 28 Aug 2019 20:38:33 +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>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/Android.isl.mk

index 07a64b8ed1c23bf845ec27e62953f17795344495..85093141c70277cb3bb34ffa2cefe28918f4772e 100644 (file)
@@ -198,6 +198,25 @@ LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_genxml
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)
 
+# ---------------------------------------
+# Build libmesa_isl_gen12
+# ---------------------------------------
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libmesa_isl_gen12
+
+LOCAL_SRC_FILES := $(ISL_GEN12_FILES)
+
+LOCAL_CFLAGS := -DGEN_VERSIONx10=120
+
+LOCAL_C_INCLUDES := $(LIBISL_GENX_COMMON_INCLUDES)
+
+LOCAL_WHOLE_STATIC_LIBRARIES := libmesa_genxml
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
+
 # ---------------------------------------
 # Build libmesa_isl_tiled_memcpy
 # ---------------------------------------
@@ -268,6 +287,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
        libmesa_isl_gen9 \
        libmesa_isl_gen10 \
        libmesa_isl_gen11 \
+       libmesa_isl_gen12 \
        libmesa_genxml \
        libmesa_isl_tiled_memcpy