[meta-ti] Denys Dmytriyenko : libdrm: restore libdrm-tests package that got missed with TI version
Arago Project git
git at arago-project.org
Sat Aug 10 13:57:13 PDT 2013
Module: meta-ti
Branch: dylan
Commit: cc1a67b39d8a958f86f30dae5e955b2347745063
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=cc1a67b39d8a958f86f30dae5e955b2347745063
Author: Denys Dmytriyenko <denys at ti.com>
Date: Sat Aug 10 16:41:28 2013 -0400
libdrm: restore libdrm-tests package that got missed with TI version
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
.../drm/libdrm-2.4.41/installtests-ti.patch | 46 ++++++++++++++++++++
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 0000000..ba325c0
--- /dev/null
+++ b/recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch
@@ -0,0 +1,46 @@
+tests: also install tests app (adjusted for TI version)
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Denys Dmytriyenko <denys at ti.com>
+
+diff -uNr git-orig/tests/Makefile.am git/tests/Makefile.am
+--- git-orig/tests/Makefile.am 2013-08-10 16:26:30.000000000 -0400
++++ git/tests/Makefile.am 2013-08-10 16:28:53.753855225 -0400
+@@ -6,10 +6,11 @@
+
+ LDADD = $(top_builddir)/libdrm.la
+
+-check_PROGRAMS = \
++bin_PROGRAMS = \
+ dristat \
+ drmstat
+
++check_PROGRAMS =
+ dristat_LDADD = $(CLOCK_LIB)
+
+ SUBDIRS = modeprint
+diff -uNr git-orig/tests/modeprint/Makefile.am git/tests/modeprint/Makefile.am
+--- git-orig/tests/modeprint/Makefile.am 2013-08-10 16:26:30.000000000 -0400
++++ git/tests/modeprint/Makefile.am 2013-08-10 16:28:53.753855225 -0400
+@@ -2,7 +2,7 @@
+ -I$(top_srcdir)/include/drm \
+ -I$(top_srcdir)
+
+-noinst_PROGRAMS = \
++bin_PROGRAMS = \
+ modeprint
+
+ modeprint_SOURCES = \
+diff -uNr git-orig/tests/modetest/Makefile.am git/tests/modetest/Makefile.am
+--- git-orig/tests/modetest/Makefile.am 2013-08-10 16:26:30.000000000 -0400
++++ git/tests/modetest/Makefile.am 2013-08-10 16:28:53.753855225 -0400
+@@ -3,7 +3,7 @@
+ -I$(top_srcdir)/libkms/ \
+ -I$(top_srcdir)
+
+-noinst_PROGRAMS = \
++bin_PROGRAMS = \
+ modetest
+
+ modetest_SOURCES = \
diff --git a/recipes-graphics/drm/libdrm_2.4.41.bb b/recipes-graphics/drm/libdrm_2.4.41.bb
index 1d89401..0150632 100644
--- a/recipes-graphics/drm/libdrm_2.4.41.bb
+++ b/recipes-graphics/drm/libdrm_2.4.41.bb
@@ -1,5 +1,7 @@
require recipes-graphics/drm/libdrm.inc
+FILESEXTRAPATHS_append := ":${COREBASE}/meta/recipes-graphics/drm/libdrm"
+
COMPATIBLE_MACHINE = "omap-a15"
DEFAULT_PREFERENCE = "-1"
@@ -9,6 +11,10 @@ EXTRA_OECONF += "--enable-omap-experimental-api --enable-kms"
SRC_URI = "git://git.ti.com/glsdk/libdrm.git;protocol=git"
SRCREV = "3cb5405084111193cedb8796d259b56560b088f0"
-PR = "${INC_PR}.0"
+SRC_URI += "file://installtests-ti.patch \
+ file://GNU_SOURCE_definition.patch \
+ "
+
+PR = "${INC_PR}.1"
S = "${WORKDIR}/git"
More information about the meta-ti
mailing list