From d1af8115f828fbebcf1201a077e2a93d233ce0e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Tue, 26 Feb 2019 10:21:32 +0200 Subject: [PATCH] iris: add libmesa_iris_gen8 library to the build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch fixes iris build on Android. Signed-off-by: Tapani Pälli Reviewed-by: Jordan Justen --- src/gallium/drivers/iris/Android.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 @@ -40,6 +40,26 @@ IRIS_COMMON_INCLUDES := \ $(MESA_TOP)/src/gallium/include \ $(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 -- 2.30.2