android: pan/bi: Generate builder routines

Fixes the following building error:

external/mesa/src/panfrost/bifrost/bifrost_compile.c:38:10: fatal error: 'bi_builder.h' file not found
         ^~~~~~~~~~~~~~
1 error generated.

Fixes: 8ef0d41170 ("pan/bi: Generate builder routines")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8294>
This commit is contained in:
Mauro Rossi 2021-01-02 12:08:34 +01:00 committed by Marge Bot
parent 0fb8223f29
commit 6a2ae4e35c
1 changed files with 8 additions and 0 deletions

View File

@ -83,6 +83,7 @@ LOCAL_STATIC_LIBRARIES := \
LOCAL_GENERATED_SOURCES := \
$(intermediates)/bifrost_nir_algebraic.c \
$(intermediates)/bi_builder.h \
$(intermediates)/bi_generated_pack.h \
$(intermediates)/bi_opcodes.c \
$(intermediates)/bi_opcodes.h \
@ -97,6 +98,13 @@ $(intermediates)/bifrost_nir_algebraic.c: $(bifrost_nir_algebraic_deps)
@mkdir -p $(dir $@)
$(hide) $(MESA_PYTHON3) $(bifrost_nir_algebraic_gen) -p $< > $@
bi_builder_h_gen := $(LOCAL_PATH)/bifrost/bi_builder.h.py
bi_builder_h_deps := $(LOCAL_PATH)/bifrost/ISA.xml $(LOCAL_PATH)/bifrost/bifrost_isa.py
$(intermediates)/bi_builder.h: $(bi_builder_h_deps)
@mkdir -p $(dir $@)
$(hide) $(MESA_PYTHON3) $(bi_builder_h_gen) $< > $@
bi_generated_pack_gen := $(LOCAL_PATH)/bifrost/gen_pack.py
bi_generated_pack_deps := $(LOCAL_PATH)/bifrost/ISA.xml $(LOCAL_PATH)/bifrost/bifrost_isa.py