diff options
author | Denys Dmytriyenko <denys@ti.com> | 2013-08-10 16:41:28 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2013-08-10 16:56:08 -0400 |
commit | ed417f659a24499301eb8e40de06e281462f213a (patch) | |
tree | c6159064d232578cdaa30fefe40068327e1d45f2 /recipes-graphics | |
parent | 8fc6ff04ff82daa70b8bf9a92873db2010efa3fe (diff) | |
download | meta-ti-ed417f659a24499301eb8e40de06e281462f213a.tar.gz |
libdrm: restore libdrm-tests package that got missed with TI version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch | 46 | ||||
-rw-r--r-- | recipes-graphics/drm/libdrm_2.4.41.bb | 8 |
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 @@ | |||
1 | tests: also install tests app (adjusted for TI version) | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
6 | |||
7 | diff -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 | ||
23 | diff -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 = \ | ||
35 | diff -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 @@ | |||
1 | require recipes-graphics/drm/libdrm.inc | 1 | require recipes-graphics/drm/libdrm.inc |
2 | 2 | ||
3 | FILESEXTRAPATHS_append := ":${COREBASE}/meta/recipes-graphics/drm/libdrm" | ||
4 | |||
3 | COMPATIBLE_MACHINE = "omap-a15" | 5 | COMPATIBLE_MACHINE = "omap-a15" |
4 | 6 | ||
5 | DEFAULT_PREFERENCE = "-1" | 7 | DEFAULT_PREFERENCE = "-1" |
@@ -9,6 +11,10 @@ EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms" | |||
9 | SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git" | 11 | SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git" |
10 | SRCREV = "3cb5405084111193cedb8796d259b56560b088f0" | 12 | SRCREV = "3cb5405084111193cedb8796d259b56560b088f0" |
11 | 13 | ||
12 | PR = "${INC_PR}.0" | 14 | SRC_URI += "file://installtests-ti.patch \ |
15 | file://GNU_SOURCE_definition.patch \ | ||
16 | " | ||
17 | |||
18 | PR = "${INC_PR}.1" | ||
13 | 19 | ||
14 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |