Mesa (master): util: Move u_atomic.h to src/util.

Matt Turner mattst88 at kemper.freedesktop.org
Mon Dec 1 19:42:41 UTC 2014


Module: Mesa
Branch: master
Commit: ccad3829e3e6e25b7d7ae746d17b88d51a70660c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ccad3829e3e6e25b7d7ae746d17b88d51a70660c

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Nov 21 15:37:54 2014 -0800

util: Move u_atomic.h to src/util.

To be shared outside of Gallium.

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>

---

 src/gallium/Automake.inc                    |    2 ++
 src/{gallium/auxiliary => }/util/u_atomic.h |    0
 2 files changed, 2 insertions(+)

diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 9b312b1..95aae50 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -32,6 +32,7 @@ GALLIUM_DRIVER_CXXFLAGS = \
 	$(VISIBILITY_CXXFLAGS)
 
 GALLIUM_TARGET_CFLAGS = \
+	-I$(top_srcdir)/src \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/loader \
 	-I$(top_srcdir)/src/gallium/include \
@@ -50,6 +51,7 @@ GALLIUM_COMMON_LIB_DEPS = \
 	$(DLOPEN_LIBS)
 
 GALLIUM_WINSYS_CFLAGS = \
+	-I$(top_srcdir)/src \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/gallium/include \
 	-I$(top_srcdir)/src/gallium/auxiliary \
diff --git a/src/gallium/auxiliary/util/u_atomic.h b/src/util/u_atomic.h
similarity index 100%
rename from src/gallium/auxiliary/util/u_atomic.h
rename to src/util/u_atomic.h




More information about the mesa-commit mailing list