gallium/radeon: link in libradeon.la at target level
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 10 May 2014 13:35:08 +0000 (14:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 May 2014 16:32:30 +0000 (17:32 +0100)
commitd812c745829be2155fdd0d10e4a12606c2a10826
tree21177e54bb2eb6676774ca478b153b80276f6014
parent6fcc0b0ba5b5a554682b782ee5f7930d7aabbe8e
gallium/radeon: link in libradeon.la at target level

It makes more sense to link the core and common parts of the driver as the
target is build. Additionally this will help us drop duplicating symbols
for targets that static link mulitple pipe-drivers. Only egl-static needs
that currently with more to come.

To simplify things a bit add HAVE_GALLIUM_RADEON_COMMON variable.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
13 files changed:
configure.ac
src/gallium/drivers/Makefile.am
src/gallium/drivers/r600/Makefile.am
src/gallium/drivers/radeonsi/Makefile.am
src/gallium/targets/egl-static/Makefile.am
src/gallium/targets/pipe-loader/Makefile.am
src/gallium/targets/r600/dri/Makefile.am
src/gallium/targets/r600/omx/Makefile.am
src/gallium/targets/r600/vdpau/Makefile.am
src/gallium/targets/r600/xvmc/Makefile.am
src/gallium/targets/radeonsi/dri/Makefile.am
src/gallium/targets/radeonsi/omx/Makefile.am
src/gallium/targets/radeonsi/vdpau/Makefile.am