android: panfrost/bifrost: add libpanfrost_lib static dependency
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 14 Aug 2020 02:12:41 +0000 (04:12 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 14 Aug 2020 13:19:36 +0000 (15:19 +0200)
Fixes the following building error:

external/mesa/src/panfrost/bifrost/test/bit.h:30:10: fatal error: 'panfrost/lib/midgard_pack.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Fixes: 88dc4c21e ("panfrost: Redirect cmdstream includes through GenXML")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6317>

src/panfrost/Android.bifrost.mk

index fc1a3a1ed557583df1f671984681d19134566832..1c4e4787736468dc00cd8dc55045bd02887e7f16 100644 (file)
@@ -65,7 +65,8 @@ LOCAL_C_INCLUDES := \
 LOCAL_STATIC_LIBRARIES := \
        libmesa_glsl \
        libmesa_nir \
 LOCAL_STATIC_LIBRARIES := \
        libmesa_glsl \
        libmesa_nir \
-       libmesa_st_mesa
+       libmesa_st_mesa \
+       libpanfrost_lib
 
 LOCAL_GENERATED_SOURCES := \
        $(intermediates)/bifrost_nir_algebraic.c \
 
 LOCAL_GENERATED_SOURCES := \
        $(intermediates)/bifrost_nir_algebraic.c \