[Mesa-dev] [PATCH 07/20] targets/dri: use install-gallium-links.mk
Steven Newbury
steve at snewbury.org.uk
Thu Mar 13 00:09:10 PDT 2014
On Tue, 2014-03-04 at 21:12 +0000, Emil Velikov wrote:
> Drop the duplication accross all dri targets.
...
> diff --git a/src/gallium/targets/dri-ilo/Makefile.am b/src/gallium/targets/dri-ilo/Makefile.am
> index 418e2ea..18d3c44 100644
> --- a/src/gallium/targets/dri-ilo/Makefile.am
> +++ b/src/gallium/targets/dri-ilo/Makefile.am
> @@ -59,9 +59,4 @@ ilo_dri_la_LDFLAGS += $(LLVM_LDFLAGS)
> ilo_dri_la_LIBADD += $(LLVM_LIBS)
> endif
>
> -# 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: ilo_dri.la
> - $(MKDIR_P) $(top_builddir)/$(LIB_DIR)/gallium
> - ln -f .libs/ilo_dri.so $(top_builddir)/$(LIB_DIR)/gallium/ilo_dri.so
> - ln -sf ilo_dri.so $(top_builddir)/$(LIB_DIR)/gallium/i965_dri.so
This doesn't work for ilo since dri_LTLIBRARIES isn't set. (It uses
"noinst_LTLIBRARIES = ilo_dri.la" instead.)
It's also not handling the i965_dri.so symlink as is removed above.
More information about the mesa-dev
mailing list