[Mesa-dev] [PATCH 03/22] winsys/svga: build: cleanup the includes
Emil Velikov
emil.l.velikov at gmail.com
Mon Aug 18 16:20:40 PDT 2014
gallium/drivers is already part fo GALLIUM_WINSYS_CFLAGS.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/winsys/svga/drm/Makefile.am | 1 -
src/gallium/winsys/svga/drm/SConscript | 6 +-----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/gallium/winsys/svga/drm/Makefile.am b/src/gallium/winsys/svga/drm/Makefile.am
index 69398b8..48d93e5 100644
--- a/src/gallium/winsys/svga/drm/Makefile.am
+++ b/src/gallium/winsys/svga/drm/Makefile.am
@@ -26,7 +26,6 @@ include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers/svga \
-I$(top_srcdir)/src/gallium/drivers/svga/include \
- -I$(top_srcdir)/src/gallium/drivers \
$(GALLIUM_WINSYS_CFLAGS) \
$(LIBDRM_CFLAGS)
diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript
index fea9df3..099acda 100644
--- a/src/gallium/winsys/svga/drm/SConscript
+++ b/src/gallium/winsys/svga/drm/SConscript
@@ -11,16 +11,12 @@ if env['gcc'] or env['clang'] or env['icc']:
'HAVE_SYS_TYPES_H',
'-D_FILE_OFFSET_BITS=64',
])
-
+
env.Prepend(CPPPATH = [
- 'include',
'#/src/gallium/drivers/svga',
'#/src/gallium/drivers/svga/include',
])
-env.Append(CPPDEFINES = [
-])
-
sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
svgadrm = env.ConvenienceLibrary(
--
2.0.2
More information about the mesa-dev
mailing list