From 97bec98ac981d5d973f8b2b11d89d967aad7628b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 21 Sep 2014 15:30:53 +0100 Subject: gallium/freedreno: add automake target 'template' Rather than duplicating the libdeps, extra define... all over the targets, define them only once and use when applicable. Signed-off-by: Emil Velikov Acked-by: Matt Turner --- src/gallium/targets/dri/Makefile.am | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/gallium/targets/dri/Makefile.am') diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am index b75d7b0..6f4bf2a 100644 --- a/src/gallium/targets/dri/Makefile.am +++ b/src/gallium/targets/dri/Makefile.am @@ -130,15 +130,7 @@ STATIC_TARGET_LIB_DEPS += \ $(top_builddir)/src/gallium/drivers/svga/libsvga.la endif -if HAVE_GALLIUM_FREEDRENO -MEGADRIVERS += msm kgsl -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 +include $(top_srcdir)/src/gallium/drivers/freedreno/Automake.inc if HAVE_GALLIUM_VC4 MEGADRIVERS += vc4 -- cgit v1.1