v3d: Fix automake linking error.
authorVinson Lee <vlee@freedesktop.org>
Tue, 22 May 2018 00:17:45 +0000 (00:17 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 30 May 2018 18:55:09 +0000 (11:55 -0700)
  CXXLD    gallium_dri.la
../../../../src/broadcom/.libs/libbroadcom.a(clif_dump.o): In function `clif_dump_packet':
src/broadcom/clif/clif_dump.c:87: undefined reference to `v3d33_clif_dump_packet'
src/broadcom/clif/clif_dump.c:85: undefined reference to `v3d41_clif_dump_packet'
../../../../src/broadcom/.libs/libbroadcom.a(clif_dump.o): In function `clif_process_worklist':
src/broadcom/clif/clif_dump.c:140: undefined reference to `v3d41_clif_dump_gl_shader_state_record'
src/broadcom/clif/clif_dump.c:144: undefined reference to `v3d33_clif_dump_gl_shader_state_record'

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/Automake.inc

index 7cf8ae7cd8b53bc801ea0d8b9fde29e2b3b8ca71..91ae826b301a3a18141b22d5a5d098ef731a42f0 100644 (file)
@@ -5,7 +5,9 @@ TARGET_CPPFLAGS += -DGALLIUM_V3D
 TARGET_LIB_DEPS += \
        $(top_builddir)/src/gallium/winsys/v3d/drm/libv3ddrm.la \
        $(top_builddir)/src/gallium/drivers/v3d/libv3d.la \
-       $(top_builddir)/src/broadcom/libbroadcom.la
+       $(top_builddir)/src/broadcom/libbroadcom.la \
+       $(top_builddir)/src/broadcom/libbroadcom_v33.la \
+       $(top_builddir)/src/broadcom/libbroadcom_v41.la
 
 if !HAVE_GALLIUM_VC4
 TARGET_LIB_DEPS += $(top_builddir)/src/broadcom/cle/libbroadcom_cle.la