[Mesa-dev] [PATCH] pipe-loader: Fix out of source build

Niels Ole Salscheider niels_ole at salscheider-online.de
Thu Apr 4 12:32:00 PDT 2013


Am Sonntag, 24. Februar 2013, 15:02:33 schrieb Matt Turner:
> On Sun, Feb 24, 2013 at 2:00 PM, Niels Ole Salscheider
> 
> <niels_ole at salscheider-online.de> wrote:
> > Signed-off-by: Niels Ole Salscheider <niels_ole at salscheider-online.de>
> > ---
> > 
> >  src/gallium/targets/opencl/Makefile.am | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/src/gallium/targets/opencl/Makefile.am
> > b/src/gallium/targets/opencl/Makefile.am index c5c3003..709112f 100644
> > --- a/src/gallium/targets/opencl/Makefile.am
> > +++ b/src/gallium/targets/opencl/Makefile.am
> > @@ -32,11 +32,11 @@ libOpenCL_la_SOURCES =
> > 
> >  # Force usage of a C++ linker
> >  nodist_EXTRA_libOpenCL_la_SOURCES = dummy.cpp
> > 
> > -PIPE_SRC_DIR = $(top_srcdir)/src/gallium/targets/pipe-loader
> > +PIPE_BUILD_DIR = $(top_builddir)/src/gallium/targets/pipe-loader
> > 
> >  # Provide compatibility with scripts for the old Mesa build system for
> >  # a while by putting a link to the driver into /lib of the build tree.
> >  all-local: libOpenCL.la
> > 
> > -       @$(MAKE) -C $(PIPE_SRC_DIR)
> > +       @$(MAKE) -C $(PIPE_BUILD_DIR)
> > 
> >         $(MKDIR_P) $(top_builddir)/$(LIB_DIR)
> >         ln -f .libs/libOpenCL.so* $(top_builddir)/$(LIB_DIR)/
> > 
> > --
> > 1.8.1.3
> 
> I think I've fixed this in a different way (that doesn't involve
> calling $(MAKE)) in this branch:
> http://cgit.freedesktop.org/~mattst88/mesa/log/?h=make-dist

Do you intend to merge this branch in the forseeable future?


More information about the mesa-dev mailing list