summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/drm/libdrm_2.4.84.imx.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/drm/libdrm_2.4.84.imx.bb')
-rw-r--r--recipes-graphics/drm/libdrm_2.4.84.imx.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes-graphics/drm/libdrm_2.4.84.imx.bb b/recipes-graphics/drm/libdrm_2.4.84.imx.bb
new file mode 100644
index 00000000..53de62b5
--- /dev/null
+++ b/recipes-graphics/drm/libdrm_2.4.84.imx.bb
@@ -0,0 +1,66 @@
1SUMMARY = "Userspace interface to the kernel DRM services"
2DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \
3stands for \"Direct Rendering Manager\", which is the kernel portion of the \
4\"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \
5accelerated OpenGL drivers."
6HOMEPAGE = "http://dri.freedesktop.org"
7SECTION = "x11/base"
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
10PROVIDES = "drm"
11DEPENDS = "libpthread-stubs libpciaccess"
12
13IMX_LIBDRM_SRC ?= "git://source.codeaurora.org/external/imx/libdrm-imx.git;protocol=https"
14IMX_LIBDRM_BRANCH = "libdrm-imx-2.4.84"
15SRC_URI = "${IMX_LIBDRM_SRC};branch=${IMX_LIBDRM_BRANCH} \
16 file://installtests.patch \
17 file://fix_O_CLOEXEC_undeclared.patch \
18 file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \
19 "
20SRC_URI_remove_mx8 = "file://drm-update-arm.patch"
21SRCREV = "8c8c46d41839035de605291bc1c26902011a74ac"
22
23# IMX: Remove manpages which is added in pyro
24#inherit autotools pkgconfig manpages
25inherit autotools pkgconfig
26
27EXTRA_OECONF += "--disable-cairo-tests \
28 --without-cunit \
29 --enable-omap-experimental-api \
30 --enable-etnaviv-experimental-api \
31 --enable-install-test-programs \
32 --disable-valgrind \
33 "
34# IMX: Remove manpages which is added in pyro
35#PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
36EXTRA_OECONF += "--disable-manpages"
37
38ALLOW_EMPTY_${PN}-drivers = "1"
39PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
40 ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \
41 ${PN}-etnaviv"
42
43RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
44 ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \
45 ${PN}-etnaviv"
46
47FILES_${PN}-tests = "${bindir}/*"
48FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
49FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
50FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
51FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
52FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
53FILES_${PN}-kms = "${libdir}/libkms*.so.*"
54FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"
55FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.*"
56FILES_${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*"
57
58EXTRA_OECONF_append_imxgpu = " --enable-vivante-experimental-api"
59
60PACKAGES_prepend_imxgpu = "${PN}-vivante "
61
62RRECOMMENDS_${PN}-drivers_append_imxgpu = " ${PN}-vivante"
63
64FILES_${PN}-vivante = "${libdir}/libdrm_vivante.so.*"
65
66S = "${WORKDIR}/git"