]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - hwdb/meson.build
hwdb: Align airplane mode toggle key mapping for all Acer series
[thirdparty/systemd.git] / hwdb / meson.build
index ee206fd509e27c3c5fd10df0ca9a0e7921858745..31ee3e74094fb8bd2d5aee0033fc0a80a347b169 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
 hwdb_files = files('''
         20-pci-vendor-model.hwdb
         20-pci-classes.hwdb
@@ -9,6 +11,7 @@ hwdb_files = files('''
         20-acpi-vendor.hwdb
         20-OUI.hwdb
         20-net-ifname.hwdb
+        20-vmbus-class.hwdb
         60-evdev.hwdb
         60-keyboard.hwdb
         60-sensor.hwdb
@@ -18,7 +21,7 @@ hwdb_files = files('''
         70-touchpad.hwdb
 '''.split())
 
-if conf.get('ENABLE_HWDB', false)
+if conf.get('ENABLE_HWDB') == 1
         install_data(hwdb_files,
                      install_dir : udevhwdbdir)
 
@@ -33,9 +36,11 @@ endif
 ############################################################
 
 parse_hwdb_py = find_program('parse_hwdb.py')
-test('parse-hwdb',
-     parse_hwdb_py,
-     timeout : 90)
+if want_tests != 'false'
+        test('parse-hwdb',
+             parse_hwdb_py,
+             timeout : 90)
+endif
 
 ############################################################