mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
target-helpers: Do not build kms_dri on libdrm-less platforms.
Fix build since 3b176c441b for
dri_platform=none hosts.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
b1eb00cd40
commit
095c37e472
2 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ static char* driver_name = NULL;
|
|||
|
||||
#if defined(GALLIUM_SOFTPIPE)
|
||||
#if defined(DRI_TARGET)
|
||||
#if defined(HAVE_LIBDRM)
|
||||
|
||||
const __DRIextension **__driDriverGetExtensions_kms_swrast(void);
|
||||
|
||||
|
|
@ -84,6 +85,7 @@ kms_swrast_create_screen(int fd)
|
|||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(GALLIUM_I915)
|
||||
#if defined(DRI_TARGET)
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ AM_CFLAGS = \
|
|||
$(GALLIUM_TARGET_CFLAGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(DEFINES) \
|
||||
-DDRI_TARGET \
|
||||
-DGALLIUM_GALAHAD \
|
||||
-DGALLIUM_NOOP \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue