From 8c2e7fd8460750543367053b1be9368cc38e1d6a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 10 Jan 2014 23:36:16 +0000 Subject: loader: introduce the loader util lib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Emil Velikov Reviewed-by: Rob Clark Reviewed-by: Kristian Høgsberg Reviewed-by: Ian Romanick --- src/gallium/state_trackers/egl/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/state_trackers/egl/Makefile.am') diff --git a/src/gallium/state_trackers/egl/Makefile.am b/src/gallium/state_trackers/egl/Makefile.am index c069c29c8c9..459fabc8692 100644 --- a/src/gallium/state_trackers/egl/Makefile.am +++ b/src/gallium/state_trackers/egl/Makefile.am @@ -66,6 +66,7 @@ libegl_la_SOURCES += $(drm_FILES) AM_CFLAGS += \ $(LIBDRM_CFLAGS) AM_CPPFLAGS += \ + -I$(top_srcdir)/src/loader \ -I$(top_srcdir)/src/gallium/winsys \ -I$(top_srcdir)/src/gbm/main \ -I$(top_srcdir)/src/gallium/state_trackers/gbm \ -- cgit v1.2.3