summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-01-10 23:36:16 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-01-18 18:47:27 +0000
commit8c2e7fd8460750543367053b1be9368cc38e1d6a (patch)
tree9587b089f9e43b090a8104661a1c5e27f0769a08 /src/SConscript
parent1c5e2965a0de296240dd8f5af12482164416b7f1 (diff)
loader: introduce the loader util lib
All the various window system integration layers duplicate roughly the same code for figuring out device and driver name, pci-id's, etc. Which is sad. So extract it out into a loader util lib. v2 (Emil) * Separate the introduction of libloader from the code de-duplication. * Strip out non-pci devices support. * Add scons + Android build system support. * Add VISIBILITY_CFLAGS to avoid exporting the loader funcs. v3 (Emil) * PIPE_OS_ANDROID is undefined at this scope, use ANDROID * Make sure we define _EGL_NO_DRM when building only swrast Signed-off-by: Rob Clark <robclark@freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript
index a24aceaea1b..93a490dca86 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -11,6 +11,7 @@ if env['hostonly']:
# compilation
Return()
+SConscript('loader/SConscript')
# When env['gles'] is set, the targets defined in mapi/glapi/SConscript are not
# used. libgl-xlib and libgl-gdi adapt themselves to use the targets defined