mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
libdrm: restore libdrm-tests package that got missed with TI version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
46
recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch
Normal file
46
recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
tests: also install tests app (adjusted for TI version)
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denys@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 = \
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user