summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/radeonsi
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-06-12 15:41:29 +0100
committerEmil Velikov <[email protected]>2014-06-22 23:05:49 +0100
commit9df2c4956b6fc4fff1497923d42011c16e777322 (patch)
tree74d4e3ed92d980e68aedde023a86df01bea2e7a7 /src/gallium/targets/radeonsi
parent8b2e0ddf8a0e8a9b30fccf07051fbf20c1798c0d (diff)
targets/vdpau-nouveau: convert to static/shared pipe-drivers
Create a single library (for the vdpau api) thus reducing the overall size of mesa. Current commit converts vdpau-nouveau, with upcomming commits handling the rest. The library can be built with the relevant pipe-drivers statically linked in, or loaded as shared modules. Currently we default to static. Add SPLIT_TARGETS to guard the other VL targets. Note: symlink handling is rather ugly and will need an update to work with BSD and other non-linux platforms. v2: Split the conversion into per-target basis. Cc: Maarten Lankhorst <[email protected]> Cc: Ilia Mirkin <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Diffstat (limited to 'src/gallium/targets/radeonsi')
-rw-r--r--src/gallium/targets/radeonsi/omx/Makefile.am2
-rw-r--r--src/gallium/targets/radeonsi/vdpau/Makefile.am2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/radeonsi/omx/Makefile.am b/src/gallium/targets/radeonsi/omx/Makefile.am
index 6d6066fe335..3c8cf11bd9c 100644
--- a/src/gallium/targets/radeonsi/omx/Makefile.am
+++ b/src/gallium/targets/radeonsi/omx/Makefile.am
@@ -22,6 +22,8 @@
include $(top_srcdir)/src/gallium/Automake.inc
+AM_CPPFLAGS = \
+ -DSPLIT_TARGETS=1
AM_CFLAGS = \
$(GALLIUM_VIDEO_CFLAGS)
diff --git a/src/gallium/targets/radeonsi/vdpau/Makefile.am b/src/gallium/targets/radeonsi/vdpau/Makefile.am
index 9ed40e65b0b..ec1baf646cb 100644
--- a/src/gallium/targets/radeonsi/vdpau/Makefile.am
+++ b/src/gallium/targets/radeonsi/vdpau/Makefile.am
@@ -22,6 +22,8 @@
include $(top_srcdir)/src/gallium/Automake.inc
+AM_CPPFLAGS = \
+ -DSPLIT_TARGETS=1
AM_CFLAGS = \
$(GALLIUM_VIDEO_CFLAGS)