1 # SPDX-License-Identifier: LGPL-2.1+
3 # Copyright 2017 Zbigniew Jędrzejewski-Szmek
6 20-pci-vendor-model.hwdb
8 20-usb-vendor-model.hwdb
10 20-sdio-vendor-model.hwdb
12 20-bluetooth-vendor-product.hwdb
26 if conf.get('ENABLE_HWDB') == 1
27 install_data(hwdb_files,
28 install_dir : udevhwdbdir)
30 meson.add_install_script('sh', '-c',
31 mkdir_p.format(join_paths(sysconfdir, 'udev/hwdb.d')))
33 meson.add_install_script('sh', '-c',
34 'test -n "$DESTDIR" || @0@/systemd-hwdb update'
38 ############################################################
40 parse_hwdb_py = find_program('parse_hwdb.py')
45 ############################################################
49 command : [hwdb_update_sh, meson.current_source_dir()])