# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+# build libpanfrost_midgard_disasm
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libpanfrost_midgard_disasm
+
+LOCAL_SRC_FILES := \
+ $(midgard_disasm_FILES)
+
+LOCAL_C_INCLUDES := \
+ $(MESA_TOP)/include \
+ $(MESA_TOP)/src/compiler/nir/ \
+ $(MESA_TOP)/src/gallium/auxiliary/ \
+ $(MESA_TOP)/src/gallium/include/ \
+ $(MESA_TOP)/src/mapi/ \
+ $(MESA_TOP)/src/mesa/ \
+ $(MESA_TOP)/src/panfrost/include/ \
+ $(MESA_TOP)/src/panfrost/midgard/
+
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+ $(MESA_TOP)/src/panfrost/midgard/ \
+
+include $(MESA_COMMON_MK)
+include $(BUILD_STATIC_LIBRARY)
+
+# build libpanfrost_midgard
include $(CLEAR_VARS)
LOCAL_MODULE := libpanfrost_midgard
libmesa_nir \
libmesa_st_mesa \
libpanfrost_util \
+ libpanfrost_midgard_disasm
midgard_nir_algebraic_gen := $(LOCAL_PATH)/midgard/midgard_nir_algebraic.py
midgard_nir_algebraic_deps := \
$(MESA_TOP)/src/panfrost/midgard/ \
include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
+include $(BUILD_STATIC_LIBRARY)
midgard/nir_undef_to_zero.c \
midgard/nir_fuse_io_16.c \
+midgard_disasm_FILES := \
+ midgard/disassemble.c \
+ midgard/disassemble.h \
+ midgard/midgard_ops.c \
+ midgard/midgard_ops.h \
+ midgard/midgard_print_constant.c
+
shared_FILES := \
shared/pan_minmax_cache.c \
shared/pan_tiling.c \