Otherwise the omx drivers are explicitly linked but never wrapped in
order to use it.

Cc: Christian König <christian.koe...@amd.com>
Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
---
 src/gallium/targets/r600/omx/Makefile.am     | 3 ++-
 src/gallium/targets/radeonsi/omx/Makefile.am | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gallium/targets/r600/omx/Makefile.am 
b/src/gallium/targets/r600/omx/Makefile.am
index 22ef08f..0bae51b 100644
--- a/src/gallium/targets/r600/omx/Makefile.am
+++ b/src/gallium/targets/r600/omx/Makefile.am
@@ -31,7 +31,8 @@ AM_CFLAGS = \
        $(LIBDRM_CFLAGS)
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/src/gallium/winsys
+       -I$(top_srcdir)/src/gallium/winsys \
+       -DGALLIUM_TRACE
 
 omxdir = $(OMX_LIB_INSTALL_DIR)
 omx_LTLIBRARIES = libomx_r600.la
diff --git a/src/gallium/targets/radeonsi/omx/Makefile.am 
b/src/gallium/targets/radeonsi/omx/Makefile.am
index 439e91c..c0e0218 100644
--- a/src/gallium/targets/radeonsi/omx/Makefile.am
+++ b/src/gallium/targets/radeonsi/omx/Makefile.am
@@ -31,7 +31,8 @@ AM_CFLAGS = \
        $(LIBDRM_CFLAGS)
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/src/gallium/winsys
+       -I$(top_srcdir)/src/gallium/winsys \
+       -DGALLIUM_TRACE
 
 omxdir = $(OMX_LIB_INSTALL_DIR)
 omx_LTLIBRARIES = libomx_radeonsi.la
-- 
1.9.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to