summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch46
-rw-r--r--recipes-graphics/drm/libdrm_2.4.41.bb8
2 files changed, 53 insertions, 1 deletions
diff --git a/recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch b/recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch
new file mode 100644
index 00000000..ba325c01
--- /dev/null
+++ b/recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch
@@ -0,0 +1,46 @@
1tests: also install tests app (adjusted for TI version)
2
3Upstream-Status: Inappropriate [configuration]
4
5Signed-off-by: Denys Dmytriyenko <denys@ti.com>
6
7diff -uNr git-orig/tests/Makefile.am git/tests/Makefile.am
8--- git-orig/tests/Makefile.am 2013-08-10 16:26:30.000000000 -0400
9+++ git/tests/Makefile.am 2013-08-10 16:28:53.753855225 -0400
10@@ -6,10 +6,11 @@
11
12 LDADD = $(top_builddir)/libdrm.la
13
14-check_PROGRAMS = \
15+bin_PROGRAMS = \
16 dristat \
17 drmstat
18
19+check_PROGRAMS =
20 dristat_LDADD = $(CLOCK_LIB)
21
22 SUBDIRS = modeprint
23diff -uNr git-orig/tests/modeprint/Makefile.am git/tests/modeprint/Makefile.am
24--- git-orig/tests/modeprint/Makefile.am 2013-08-10 16:26:30.000000000 -0400
25+++ git/tests/modeprint/Makefile.am 2013-08-10 16:28:53.753855225 -0400
26@@ -2,7 +2,7 @@
27 -I$(top_srcdir)/include/drm \
28 -I$(top_srcdir)
29
30-noinst_PROGRAMS = \
31+bin_PROGRAMS = \
32 modeprint
33
34 modeprint_SOURCES = \
35diff -uNr git-orig/tests/modetest/Makefile.am git/tests/modetest/Makefile.am
36--- git-orig/tests/modetest/Makefile.am 2013-08-10 16:26:30.000000000 -0400
37+++ git/tests/modetest/Makefile.am 2013-08-10 16:28:53.753855225 -0400
38@@ -3,7 +3,7 @@
39 -I$(top_srcdir)/libkms/ \
40 -I$(top_srcdir)
41
42-noinst_PROGRAMS = \
43+bin_PROGRAMS = \
44 modetest
45
46 modetest_SOURCES = \
diff --git a/recipes-graphics/drm/libdrm_2.4.41.bb b/recipes-graphics/drm/libdrm_2.4.41.bb
index 1d89401d..01506327 100644
--- a/recipes-graphics/drm/libdrm_2.4.41.bb
+++ b/recipes-graphics/drm/libdrm_2.4.41.bb
@@ -1,5 +1,7 @@
1require recipes-graphics/drm/libdrm.inc 1require recipes-graphics/drm/libdrm.inc
2 2
3FILESEXTRAPATHS_append := ":${COREBASE}/meta/recipes-graphics/drm/libdrm"
4
3COMPATIBLE_MACHINE = "omap-a15" 5COMPATIBLE_MACHINE = "omap-a15"
4 6
5DEFAULT_PREFERENCE = "-1" 7DEFAULT_PREFERENCE = "-1"
@@ -9,6 +11,10 @@ EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms"
9SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git" 11SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git"
10SRCREV = "3cb5405084111193cedb8796d259b56560b088f0" 12SRCREV = "3cb5405084111193cedb8796d259b56560b088f0"
11 13
12PR = "${INC_PR}.0" 14SRC_URI += "file://installtests-ti.patch \
15 file://GNU_SOURCE_definition.patch \
16 "
17
18PR = "${INC_PR}.1"
13 19
14S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"