freedreno: Fix autotools build.
authorVinson Lee <vlee@freedesktop.org>
Wed, 28 Nov 2018 21:21:50 +0000 (13:21 -0800)
committerVinson Lee <vlee@freedesktop.org>
Thu, 29 Nov 2018 06:23:52 +0000 (22:23 -0800)
Fix build error.

  CXXLD    pipe_msm.la
../../../../src/gallium/drivers/freedreno/.libs/libfreedreno.a(freedreno_batch.o): In function `batch_init':
src/gallium/drivers/freedreno/freedreno_batch.c:54: undefined reference to `fd_device_version'
src/gallium/drivers/freedreno/freedreno_batch.c:59: undefined reference to `fd_submit_new'
src/gallium/drivers/freedreno/freedreno_batch.c:61: undefined reference to `fd_submit_new_ringbuffer'
src/gallium/drivers/freedreno/freedreno_batch.c:64: undefined reference to `fd_submit_new_ringbuffer'
src/gallium/drivers/freedreno/freedreno_batch.c:66: undefined reference to `fd_submit_new_ringbuffer'
src/gallium/drivers/freedreno/freedreno_batch.c:70: undefined reference to `fd_submit_new_ringbuffer'

Fixes: b4476138d5ad ("freedreno: move drm to common location")
Fixes: aa0fed10d357 ("freedreno: move ir3 to common location")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/targets/pipe-loader/Makefile.am

index fa16e8535ff1bf6117276c4d7eea0ffe29718fd9..db515e3097b70caa9d266030353fa453a1dc5be6 100644 (file)
@@ -157,6 +157,8 @@ pipe_msm_la_LIBADD = \
        $(PIPE_LIBS) \
        $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
        $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \
+       $(top_builddir)/src/freedreno/libfreedreno_drm.la \
+       $(top_builddir)/src/freedreno/libfreedreno_ir3.la \
        $(LIBDRM_LIBS) \
        $(FREEDRENO_LIBS)