summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/drm/libdrm/installtests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/drm/libdrm/installtests.patch')
-rw-r--r--meta/recipes-graphics/drm/libdrm/installtests.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-graphics/drm/libdrm/installtests.patch b/meta/recipes-graphics/drm/libdrm/installtests.patch
new file mode 100644
index 0000000000..1f39719a07
--- /dev/null
+++ b/meta/recipes-graphics/drm/libdrm/installtests.patch
@@ -0,0 +1,49 @@
1tests: also install tests app
2
3Upstream-Status: Inappropriate [configuration]
4
5Signed-off-by: Yu Ke <ke.yu@intel.com>
6
7diff --git a/tests/Makefile.am b/tests/Makefile.am
8index bf1987f..d909e19 100644
9--- a/tests/Makefile.am
10+++ b/tests/Makefile.am
11@@ -6,10 +6,11 @@ AM_CPPFLAGS = \
12
13 LDADD = $(top_builddir)/libdrm.la
14
15-check_PROGRAMS = \
16+bin_PROGRAMS = \
17 dristat \
18 drmstat
19
20+check_PROGRAMS =
21 SUBDIRS = modeprint
22
23 if HAVE_LIBKMS
24diff --git a/tests/modeprint/Makefile.am b/tests/modeprint/Makefile.am
25index c4862ac..7db76ea 100644
26--- a/tests/modeprint/Makefile.am
27+++ b/tests/modeprint/Makefile.am
28@@ -2,7 +2,7 @@ AM_CFLAGS = \
29 -I$(top_srcdir)/include/drm \
30 -I$(top_srcdir)
31
32-noinst_PROGRAMS = \
33+bin_PROGRAMS = \
34 modeprint
35
36 modeprint_SOURCES = \
37diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am
38index 2191242..1d2c1b0 100644
39--- a/tests/modetest/Makefile.am
40+++ b/tests/modetest/Makefile.am
41@@ -4,7 +4,7 @@ AM_CFLAGS = \
42 -I$(top_srcdir) \
43 $(CAIRO_CFLAGS)
44
45-noinst_PROGRAMS = \
46+bin_PROGRAMS = \
47 modetest
48
49 modetest_SOURCES = \