build: Use run_target for sync-udev-hwdb

This commit is contained in:
Marco Trevisan (Treviño)
2026-07-24 10:44:26 +00:00
committed by Marco Trevisan
parent c890325589
commit 1b9bee4b6d
+1 -5
View File
@@ -354,10 +354,8 @@ if install_udev_rules
)
endif
sync_udev_udb = custom_target('sync-udev-hwdb',
run_target('sync-udev-hwdb',
depends: udev_hwdb_generator,
output: 'sync-udev-hwdb',
install: false,
command: [
'cp', '-v',
udev_hwdb_generator.full_path(),
@@ -365,8 +363,6 @@ sync_udev_udb = custom_target('sync-udev-hwdb',
]
)
alias_target('sync-udev-hwdb', sync_udev_udb)
run_target('sync-unsupported-devices',
command: [ sync_unsupported_files, udev_hwdb_list_file ]
)