Module: Mesa Branch: master Commit: 0fb8223f2927c9fb7d6bdad01557e24463983b56 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fb8223f2927c9fb7d6bdad01557e24463983b56
Author: Mauro Rossi <[email protected]> Date: Sat Jan 2 12:01:36 2021 +0100 android: pan/bi: Generate instruction printer To avoid building errors in Android Fixes: 1893a3805e41 ("pan/bi: Generate instruction printer") Signed-off-by: Mauro Rossi <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8294> --- src/panfrost/Android.bifrost.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/panfrost/Android.bifrost.mk b/src/panfrost/Android.bifrost.mk index 3dfa573f8fb..305fb1f388f 100644 --- a/src/panfrost/Android.bifrost.mk +++ b/src/panfrost/Android.bifrost.mk @@ -86,6 +86,7 @@ LOCAL_GENERATED_SOURCES := \ $(intermediates)/bi_generated_pack.h \ $(intermediates)/bi_opcodes.c \ $(intermediates)/bi_opcodes.h \ + $(intermediates)/bi_printer.c \ $(MESA_GEN_GLSL_H) bifrost_nir_algebraic_gen := $(LOCAL_PATH)/bifrost/bifrost_nir_algebraic.py @@ -117,6 +118,13 @@ $(intermediates)/bi_opcodes.h: $(bi_opcodes_h_deps) @mkdir -p $(dir $@) $(hide) $(MESA_PYTHON3) $(bi_opcodes_h_gen) $< > $@ +bi_printer_c_gen := $(LOCAL_PATH)/bifrost/bi_printer.c.py +bi_printer_c_deps := $(LOCAL_PATH)/bifrost/ISA.xml $(LOCAL_PATH)/bifrost/bifrost_isa.py + +$(intermediates)/bi_printer.c: $(bi_printer_c_deps) + @mkdir -p $(dir $@) + $(hide) $(MESA_PYTHON3) $(bi_printer_c_gen) $< > $@ + LOCAL_EXPORT_C_INCLUDE_DIRS := \ $(MESA_TOP)/src/panfrost/bifrost/ \ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
