diff options
-rw-r--r-- | meta/recipes-graphics/drm/libdrm_2.4.92.bb | 26 |
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" | |||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" | 9 | LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" |
10 | PROVIDES = "drm" | 10 | PROVIDES = "drm" |
11 | DEPENDS = "libpthread-stubs libpciaccess" | 11 | DEPENDS = "libpthread-stubs" |
12 | 12 | ||
13 | SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \ | 13 | SRC_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 | ||
18 | inherit meson pkgconfig manpages | 18 | inherit meson pkgconfig manpages |
19 | 19 | ||
20 | EXTRA_OEMESON = "-Dvalgrind=false \ | 20 | PACKAGECONFIG ??= "libkms intel radeon amdgpu nouveau vmwgfx omap freedreno vc4 etnaviv install-test-programs" |
21 | -Dcairo-tests=false \ | 21 | PACKAGECONFIG[libkms] = "-Dlibkms=true,-Dlibkms=false" |
22 | -Dinstall-test-programs=true \ | 22 | PACKAGECONFIG[intel] = "-Dintel=true,-Dintel=false,libpciaccess" |
23 | -Domap=true \ | 23 | PACKAGECONFIG[radeon] = "-Dradeon=true,-Dradeon=false" |
24 | -Detnaviv=true" | 24 | PACKAGECONFIG[amdgpu] = "-Damdgpu=true,-Damdgpu=false" |
25 | 25 | PACKAGECONFIG[nouveau] = "-Dnouveau=true,-Dnouveau=false" | |
26 | PACKAGECONFIG[vmwgfx] = "-Dvmwgfx=true,-Dvmwgfx=false" | ||
27 | PACKAGECONFIG[omap] = "-Domap=true,-Domap=false" | ||
28 | PACKAGECONFIG[exynos] = "-Dexynos=true,-Dexynos=false" | ||
29 | PACKAGECONFIG[freedreno] = "-Dfreedreno=true,-Dfreedreno=false" | ||
30 | PACKAGECONFIG[tegra] = "-Dtegra=true,-Dtegra=false" | ||
31 | PACKAGECONFIG[vc4] = "-Dvc4=true,-Dvc4=false" | ||
32 | PACKAGECONFIG[etnaviv] = "-Detnaviv=true,-Detnaviv=false" | ||
33 | PACKAGECONFIG[freedreno-kgsl] = "-Dfreedreno-kgsl=true,-Dfreedreno-kgsl=false" | ||
34 | PACKAGECONFIG[valgrind] = "-Dvalgrind=true,-Dvalgrind=false,valgrind" | ||
35 | PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false" | ||
36 | PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false" | ||
37 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" | ||
26 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native" | 38 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native" |
27 | 39 | ||
28 | ALLOW_EMPTY_${PN}-drivers = "1" | 40 | ALLOW_EMPTY_${PN}-drivers = "1" |