diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-05-16 02:04:14 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-07-31 14:55:30 +0200 |
commit | 00476907fc25f15d7c8495ca360e5a722230ac05 (patch) | |
tree | 2ffb080871a2c0649aef409828754ec10e4b67d3 | |
parent | e044e9eb2af2835446a9d72ad1e555f8c2e7cb80 (diff) |
gallium/targets: link against NIR when building radeonsi
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r-- | src/gallium/drivers/radeonsi/Automake.inc | 3 | ||||
-rw-r--r-- | src/gallium/targets/d3dadapter9/Makefile.am | 1 | ||||
-rw-r--r-- | src/gallium/targets/omx/Makefile.am | 1 | ||||
-rw-r--r-- | src/gallium/targets/va/Makefile.am | 1 | ||||
-rw-r--r-- | src/gallium/targets/vdpau/Makefile.am | 1 | ||||
-rw-r--r-- | src/gallium/targets/xvmc/Makefile.am | 1 |
6 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/Automake.inc b/src/gallium/drivers/radeonsi/Automake.inc index 1bc7b93f8c..6f1843a3c6 100644 --- a/src/gallium/drivers/radeonsi/Automake.inc +++ b/src/gallium/drivers/radeonsi/Automake.inc @@ -8,6 +8,9 @@ TARGET_LIB_DEPS += \ $(LIBDRM_LIBS) \ $(AMDGPU_LIBS) +TARGET_COMPILER_LIB_DEPS = \ + $(top_builddir)/src/compiler/nir/libnir.la + TARGET_RADEON_WINSYS = \ $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \ $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la diff --git a/src/gallium/targets/d3dadapter9/Makefile.am b/src/gallium/targets/d3dadapter9/Makefile.am index 7a783f4371..8f2a6f5601 100644 --- a/src/gallium/targets/d3dadapter9/Makefile.am +++ b/src/gallium/targets/d3dadapter9/Makefile.am @@ -103,6 +103,7 @@ d3dadapter9_la_LIBADD += \ $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \ $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \ $(TARGET_LIB_DEPS) \ + $(TARGET_COMPILER_LIB_DEPS) \ $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON) else # HAVE_GALLIUM_STATIC_TARGETS diff --git a/src/gallium/targets/omx/Makefile.am b/src/gallium/targets/omx/Makefile.am index 928e0182a6..d977255fcf 100644 --- a/src/gallium/targets/omx/Makefile.am +++ b/src/gallium/targets/omx/Makefile.am @@ -59,6 +59,7 @@ libomx_mesa_la_LIBADD += \ $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \ $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \ $(TARGET_LIB_DEPS) \ + $(TARGET_COMPILER_LIB_DEPS) \ $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON) else # HAVE_GALLIUM_STATIC_TARGETS diff --git a/src/gallium/targets/va/Makefile.am b/src/gallium/targets/va/Makefile.am index 3fcc88e06c..453a1c3254 100644 --- a/src/gallium/targets/va/Makefile.am +++ b/src/gallium/targets/va/Makefile.am @@ -58,6 +58,7 @@ gallium_drv_video_la_LIBADD += \ $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \ $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \ $(TARGET_LIB_DEPS) \ + $(TARGET_COMPILER_LIB_DEPS) \ $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON) else # HAVE_GALLIUM_STATIC_TARGETS diff --git a/src/gallium/targets/vdpau/Makefile.am b/src/gallium/targets/vdpau/Makefile.am index 26340f114a..c1cd59621e 100644 --- a/src/gallium/targets/vdpau/Makefile.am +++ b/src/gallium/targets/vdpau/Makefile.am @@ -64,6 +64,7 @@ libvdpau_gallium_la_LIBADD += \ $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \ $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \ $(TARGET_LIB_DEPS) \ + $(TARGET_COMPILER_LIB_DEPS) \ $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON) else # HAVE_GALLIUM_STATIC_TARGETS diff --git a/src/gallium/targets/xvmc/Makefile.am b/src/gallium/targets/xvmc/Makefile.am index 6937850adb..9f82d2605e 100644 --- a/src/gallium/targets/xvmc/Makefile.am +++ b/src/gallium/targets/xvmc/Makefile.am @@ -53,6 +53,7 @@ libXvMCgallium_la_LIBADD += \ $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \ $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \ $(TARGET_LIB_DEPS) \ + $(TARGET_COMPILER_LIB_DEPS) \ $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON) else # HAVE_GALLIUM_STATIC_TARGETS |