st/dri/drm: remove __driDriverExtensions and driDriverAPI
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jun 2014 18:30:38 +0000 (19:30 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 10 Jul 2014 00:06:48 +0000 (01:06 +0100)
commit0e357234f3289058f9ee0653e2dbdef4ef825e31
tree45ddebd1c6c640f47121258bbf0fe2ac5539680d
parent3b7c120be3fd0d979e2e36e87f0ceca7290ea078
st/dri/drm: remove __driDriverExtensions and driDriverAPI

... and use libmegadriver_stub as their provider.
Teach scons how to build the library archive and use it.

v2: scons: fix build on a drm-less system.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Rob Clark <robclark@freedesktop.org>
Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Acked-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/targets/dri/Makefile.am
src/gallium/targets/dri/SConscript
src/mesa/drivers/dri/common/SConscript