From 3b83157e9b9b642dfb7f6ab177ec9e601e6e6a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 21 Jan 2021 15:34:36 +0100 Subject: [PATCH] build: Skip the hwdb test if not all drivers are really enabled --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 0a65754..cbeab4d 100644 --- a/meson.build +++ b/meson.build @@ -184,6 +184,10 @@ foreach driver: drivers endif endforeach +if default_drivers_are_enabled and supported_drivers != drivers + default_drivers_are_enabled = false +endif + # Export the drivers' types to the core code drivers_type_list = [] drivers_type_func = []