build: Skip the hwdb test if not all drivers are really enabled

This commit is contained in:
Marco Trevisan (Treviño) 2021-01-21 15:34:36 +01:00 committed by Benjamin Berg
parent 57f836a0f6
commit 3b83157e9b

View file

@ -184,6 +184,10 @@ foreach driver: drivers
endif endif
endforeach endforeach
if default_drivers_are_enabled and supported_drivers != drivers
default_drivers_are_enabled = false
endif
# Export the drivers' types to the core code # Export the drivers' types to the core code
drivers_type_list = [] drivers_type_list = []
drivers_type_func = [] drivers_type_func = []