exynos: do not build fimg2d_test when building without libkms support.
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Fri, 25 Jul 2014 09:22:24 +0000 (11:22 +0200)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Fri, 25 Jul 2014 09:38:55 +0000 (11:38 +0200)
This prevents a build failure.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
tests/exynos/Makefile.am

index 518f00b..92de4e4 100644 (file)
@@ -4,6 +4,7 @@ AM_CFLAGS = \
        -I $(top_srcdir)/exynos \
        -I $(top_srcdir)
 
+if HAVE_LIBKMS
 if HAVE_INSTALL_TESTS
 bin_PROGRAMS = \
        exynos_fimg2d_test
@@ -11,6 +12,7 @@ else
 noinst_PROGRAMS = \
        exynos_fimg2d_test
 endif
+endif
 
 exynos_fimg2d_test_LDADD = \
        $(top_builddir)/libdrm.la \