diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-21 17:37:39 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-21 17:37:39 +0100 |
commit | 1370ba3fc0b554fd9edd4ede653f7e3e8413ec3d (patch) | |
tree | c9a659d88cb53e9c7f241dc3e1e5380e0eedaf80 | |
parent | 31f3e71947685f98774f6a2a1dabaed7b2f09531 (diff) | |
download | poky-1370ba3fc0b554fd9edd4ede653f7e3e8413ec3d.tar.gz |
libdrm: Package test utils
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/drm/libdrm-2.4.7/installtests.patch | 39 | ||||
-rw-r--r-- | meta/packages/drm/libdrm_2.4.7.bb | 10 |
2 files changed, 46 insertions, 3 deletions
diff --git a/meta/packages/drm/libdrm-2.4.7/installtests.patch b/meta/packages/drm/libdrm-2.4.7/installtests.patch new file mode 100644 index 0000000000..a16c8a738b --- /dev/null +++ b/meta/packages/drm/libdrm-2.4.7/installtests.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | Index: libdrm-2.4.7/tests/Makefile.am | ||
2 | =================================================================== | ||
3 | --- libdrm-2.4.7.orig/tests/Makefile.am 2009-04-09 20:16:35.000000000 +0100 | ||
4 | +++ libdrm-2.4.7/tests/Makefile.am 2009-04-17 12:35:14.000000000 +0100 | ||
5 | @@ -4,7 +4,7 @@ | ||
6 | |||
7 | LDADD = $(top_builddir)/libdrm/libdrm.la | ||
8 | |||
9 | -noinst_PROGRAMS = \ | ||
10 | +bin_PROGRAMS = \ | ||
11 | dristat \ | ||
12 | drmstat | ||
13 | |||
14 | Index: libdrm-2.4.7/tests/modeprint/Makefile.am | ||
15 | =================================================================== | ||
16 | --- libdrm-2.4.7.orig/tests/modeprint/Makefile.am 2009-02-17 19:52:37.000000000 +0000 | ||
17 | +++ libdrm-2.4.7/tests/modeprint/Makefile.am 2009-04-17 12:35:32.000000000 +0100 | ||
18 | @@ -3,7 +3,7 @@ | ||
19 | -I$(top_srcdir)/libdrm/intel/ \ | ||
20 | -I$(top_srcdir)/libdrm | ||
21 | |||
22 | -noinst_PROGRAMS = \ | ||
23 | +bin_PROGRAMS = \ | ||
24 | modeprint | ||
25 | |||
26 | modeprint_SOURCES = \ | ||
27 | Index: libdrm-2.4.7/tests/modetest/Makefile.am | ||
28 | =================================================================== | ||
29 | --- libdrm-2.4.7.orig/tests/modetest/Makefile.am 2009-02-17 19:52:37.000000000 +0000 | ||
30 | +++ libdrm-2.4.7/tests/modetest/Makefile.am 2009-04-17 12:35:42.000000000 +0100 | ||
31 | @@ -4,7 +4,7 @@ | ||
32 | -I$(top_srcdir)/libdrm \ | ||
33 | $(CAIRO_CFLAGS) | ||
34 | |||
35 | -noinst_PROGRAMS = \ | ||
36 | +bin_PROGRAMS = \ | ||
37 | modetest | ||
38 | |||
39 | modetest_SOURCES = \ | ||
diff --git a/meta/packages/drm/libdrm_2.4.7.bb b/meta/packages/drm/libdrm_2.4.7.bb index ee5643b420..f0d5668937 100644 --- a/meta/packages/drm/libdrm_2.4.7.bb +++ b/meta/packages/drm/libdrm_2.4.7.bb | |||
@@ -1,8 +1,12 @@ | |||
1 | SECTION = "x11/base" | 1 | SECTION = "x11/base" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2" | 3 | SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2 \ |
4 | PR = "r0" | 4 | file://installtests.patch;patch=1" |
5 | PR = "r1" | ||
5 | PROVIDES = "drm" | 6 | PROVIDES = "drm" |
6 | DEPENDS = "libpthread-stubs" | 7 | DEPENDS = "libpthread-stubs udev cairo" |
8 | |||
9 | PACKAGES =+ "libdrm-tests" | ||
10 | FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" | ||
7 | 11 | ||
8 | inherit autotools_stage pkgconfig | 12 | inherit autotools_stage pkgconfig |