mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-01 11:38:00 +02:00
configure.ac: error out if building freedreno_kgsl without freedreno
The former is a subset of the latter. Error out early so the user is aware that they are doing something very wrong. Cc: Rob Clark <robdclark@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
648508518e
commit
d20413a7ce
1 changed files with 5 additions and 0 deletions
|
|
@ -321,6 +321,11 @@ if test "x$FREEDRENO" = xyes; then
|
|||
AC_DEFINE(HAVE_FREEDRENO, 1, [Have freedreno support])
|
||||
fi
|
||||
|
||||
if test "x$FREEDRENO_KGSL" = xyes; then
|
||||
if test "x$FREEDRENO" != xyes; then
|
||||
AC_MSG_ERROR([Cannot enable freedreno KGSL interface if freedreno is disabled])
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_FREEDRENO_KGSL, [test "x$FREEDRENO_KGSL" = xyes])
|
||||
if test "x$FREEDRENO_KGSL" = xyes; then
|
||||
AC_DEFINE(HAVE_FREEDRENO_KGSL, 1, [Have freedreno support for KGSL kernel interface])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue