android: pan/bi: add bi_opt_constant_fold.c to Makefile.sources
authorMauro Rossi <issor.oruam@gmail.com>
Mon, 3 May 2021 20:50:26 +0000 (22:50 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 May 2021 13:02:29 +0000 (13:02 +0000)
Fixes the following building error:

FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
...
ld.lld: error: undefined symbol: bi_opt_constant_fold
>>> referenced by bifrost_compile.c:3105 (external/mesa/src/panfrost/bifrost/bifrost_compile.c:3105)

Fixes: 1cb11969bec0 ("pan/bi: Add simple constant folding pass")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10603>

src/panfrost/Makefile.sources

index 9e7be13..b5262e0 100644 (file)
@@ -11,6 +11,7 @@ bifrost_FILES := \
         bifrost/bi_print.c \
         bifrost/bi_print.h \
         bifrost/bi_ra.c \
+        bifrost/bi_opt_constant_fold.c \
         bifrost/bi_opt_copy_prop.c \
         bifrost/bi_opt_dce.c \
         bifrost/bi_opt_push_ubo.c \