From: Emil Velikov <emil.veli...@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-sta...@lists.freedesktop.org> Cc: Tim Rowley <timothy.o.row...@intel.com> Signed-off-by: Emil Velikov <emil.veli...@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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev