[Mesa-dev] [PATCH] swr: automake: add missing -I flag
Emil Velikov
emil.l.velikov at gmail.com
Fri Jun 10 20:16:53 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
When building from a release tarball (where the generated/built files
are in srcdir) in an OOT fashion we need to have both builddir and
srcdir in the includes list.
Otherwise we'll error out, as the file (header gen_knobs.h in this case)
won't be in the location where we are looking.
Cc: "11.2 12.0" <mesa-stable at lists.freedesktop.org>
Cc: Tim Rowley <timothy.o.rowley at intel.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Personally I would slim down the -I to only a few (rasterizer and/or
rasterizer/core) thus one will have clearer idea/relation about the code
structure. </bikeshedding>
---
src/gallium/drivers/swr/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index d211f2e..8151e4a 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -36,6 +36,7 @@ COMMON_CXXFLAGS = \
-I$(builddir)/rasterizer/jitter \
-I$(srcdir)/rasterizer \
-I$(srcdir)/rasterizer/core \
+ -I$(srcdir)/rasterizer/scripts \
-I$(srcdir)/rasterizer/jitter
COMMON_SOURCES = \
--
2.8.2
More information about the mesa-dev
mailing list