libdrm: add option to build the intel driver

libpciaccess is not needed for libdrm itself, only the intel driver
depends on it:
https://cgit.freedesktop.org/mesa/drm/tree/meson.build#n240

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
This commit is contained in:
Bernd Kuhls
2021-02-27 14:04:21 +01:00
committed by Josef Schlehofer
parent c1ce778dec
commit d216b47dbf
2 changed files with 23 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
menu "Select libdrm build options"
depends on PACKAGE_libdrm
config LIBDRM_INTEL
bool "Intel support"
default n
depends on x86_64 || i386
help
Installs the Intel driver.
endmenu