pan/mdg: Fix perspective combination
[mesa.git] / src / panfrost / Android.midgard.mk
index 1b3932a87d49e779998d584fdd929c5f7d89f5cc..b192e9b311e475fafb1e275609b4013cbb25201f 100644 (file)
 # 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
@@ -46,6 +71,7 @@ LOCAL_STATIC_LIBRARIES := \
        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 := \
@@ -59,4 +85,4 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
        $(MESA_TOP)/src/panfrost/midgard/ \
 
 include $(MESA_COMMON_MK)
-include $(BUILD_STATIC_LIBRARY)
\ No newline at end of file
+include $(BUILD_STATIC_LIBRARY)