From 231063b03234e078c63da10c65f070799f945156 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 16 Jun 2014 02:54:56 +0100 Subject: targets/dri-freedreno: Convert to static/shared pipe-drivers Now we don't need a second dri module when using kgsl :) Cc: Rob Clark Signed-off-by: Emil Velikov Tested-by: Rob Clark Tested-by: Thomas Helland Acked-by: Tom Stellard --- src/gallium/targets/dri/Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gallium/targets/dri') diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am index a57ef01e68c..e4d9a7e9794 100644 --- a/src/gallium/targets/dri/Makefile.am +++ b/src/gallium/targets/dri/Makefile.am @@ -92,6 +92,17 @@ STATIC_TARGET_LIB_DEPS += \ $(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \ $(RADEON_LIBS) endif + +if HAVE_GALLIUM_FREEDRENO +MEGADRIVERS += freedreno +STATIC_TARGET_CPPFLAGS += -DGALLIUM_FREEDRENO +STATIC_TARGET_LIB_DEPS += \ + $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \ + $(top_builddir)/src/gallium/drivers/freedreno/libfreedreno.la \ + $(FREEDRENO_LIBS) + +endif + gallium_dri_la_SOURCES += target.c AM_CPPFLAGS += $(STATIC_TARGET_CPPFLAGS) gallium_dri_la_LIBADD += $(STATIC_TARGET_LIB_DEPS) -- cgit v1.2.3