diff options
author | Emil Velikov <[email protected]> | 2014-06-16 02:54:56 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-07-02 10:52:53 +0100 |
commit | 231063b03234e078c63da10c65f070799f945156 (patch) | |
tree | c3a203c8dd439b2ff711c73bc90f8449d449dc01 /src/gallium/targets/dri/Makefile.am | |
parent | 495e3e7bed93c7edd9a64840bce2178d24edd1a1 (diff) |
targets/dri-freedreno: Convert to static/shared pipe-drivers
Now we don't need a second dri module when using kgsl :)
Cc: Rob Clark <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Tested-by: Rob Clark <[email protected]>
Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Acked-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri/Makefile.am')
-rw-r--r-- | src/gallium/targets/dri/Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
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) |