Module: Mesa Branch: master Commit: 95af4994e5cb3aa0a6586687f1841965669498e8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95af4994e5cb3aa0a6586687f1841965669498e8
Author: Mauro Rossi <[email protected]> Date: Sat Jan 2 13:16:48 2021 +0100 android: pan/bi: Generate instruction packer for new IR Necessary for Android build after commit 82328a524519 Fixes: 82328a524519 ("pan/bi: Generate instruction packer for new IR") 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 f4fa77ec5c3..c31dc47136f 100644 --- a/src/panfrost/Android.bifrost.mk +++ b/src/panfrost/Android.bifrost.mk @@ -87,6 +87,7 @@ LOCAL_GENERATED_SOURCES := \ $(intermediates)/bi_generated_pack.h \ $(intermediates)/bi_opcodes.c \ $(intermediates)/bi_opcodes.h \ + $(intermediates)/bi_packer.c \ $(intermediates)/bi_printer.c \ $(MESA_GEN_GLSL_H) @@ -126,6 +127,13 @@ $(intermediates)/bi_opcodes.h: $(bi_opcodes_h_deps) @mkdir -p $(dir $@) $(hide) $(MESA_PYTHON3) $(bi_opcodes_h_gen) $< > $@ +bi_packer_c_gen := $(LOCAL_PATH)/bifrost/bi_packer.c.py +bi_packer_c_deps := $(LOCAL_PATH)/bifrost/ISA.xml $(LOCAL_PATH)/bifrost/bifrost_isa.py + +$(intermediates)/bi_packer.c: $(bi_packer_c_deps) + @mkdir -p $(dir $@) + $(hide) $(MESA_PYTHON3) $(bi_packer_c_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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
