summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.92.bb26
1 files changed, 19 insertions, 7 deletions
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.92.bb b/meta/recipes-graphics/drm/libdrm_2.4.92.bb
index 347090cd5f..3eabb10bfd 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.92.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.92.bb
@@ -8,7 +8,7 @@ SECTION = "x11/base"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" 9LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
10PROVIDES = "drm" 10PROVIDES = "drm"
11DEPENDS = "libpthread-stubs libpciaccess" 11DEPENDS = "libpthread-stubs"
12 12
13SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \ 13SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
14 file://musl-ioctl.patch" 14 file://musl-ioctl.patch"
@@ -17,12 +17,24 @@ SRC_URI[sha256sum] = "e9e48fdb4de139dc4d9880aa1473158a16ff6aff63d14341367bd30a51
17 17
18inherit meson pkgconfig manpages 18inherit meson pkgconfig manpages
19 19
20EXTRA_OEMESON = "-Dvalgrind=false \ 20PACKAGECONFIG ??= "libkms intel radeon amdgpu nouveau vmwgfx omap freedreno vc4 etnaviv install-test-programs"
21 -Dcairo-tests=false \ 21PACKAGECONFIG[libkms] = "-Dlibkms=true,-Dlibkms=false"
22 -Dinstall-test-programs=true \ 22PACKAGECONFIG[intel] = "-Dintel=true,-Dintel=false,libpciaccess"
23 -Domap=true \ 23PACKAGECONFIG[radeon] = "-Dradeon=true,-Dradeon=false"
24 -Detnaviv=true" 24PACKAGECONFIG[amdgpu] = "-Damdgpu=true,-Damdgpu=false"
25 25PACKAGECONFIG[nouveau] = "-Dnouveau=true,-Dnouveau=false"
26PACKAGECONFIG[vmwgfx] = "-Dvmwgfx=true,-Dvmwgfx=false"
27PACKAGECONFIG[omap] = "-Domap=true,-Domap=false"
28PACKAGECONFIG[exynos] = "-Dexynos=true,-Dexynos=false"
29PACKAGECONFIG[freedreno] = "-Dfreedreno=true,-Dfreedreno=false"
30PACKAGECONFIG[tegra] = "-Dtegra=true,-Dtegra=false"
31PACKAGECONFIG[vc4] = "-Dvc4=true,-Dvc4=false"
32PACKAGECONFIG[etnaviv] = "-Detnaviv=true,-Detnaviv=false"
33PACKAGECONFIG[freedreno-kgsl] = "-Dfreedreno-kgsl=true,-Dfreedreno-kgsl=false"
34PACKAGECONFIG[valgrind] = "-Dvalgrind=true,-Dvalgrind=false,valgrind"
35PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false"
36PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false"
37PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev"
26PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native" 38PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native"
27 39
28ALLOW_EMPTY_${PN}-drivers = "1" 40ALLOW_EMPTY_${PN}-drivers = "1"