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