Skip to content

Build the hwdb entry from udev-hid-bpf inspect output

Peter Hutterer requested to merge whot/udev-hid-bpf:wip/hwdb-via-inspect into main

This sits on top of !42 (merged) and !43 (merged), only the last two commits matter.

This integrates udev-hid-bpf inspect into meson so that the hwdb file is built from that output via a small python script. I did experiment with jq but that's an extra dependency which seems unnecessary for something that simple.

And the second commit sets up the build tree so it mirrors the source tree. This IMO makes it easier to find the bpf.o files. Not 100% necessary but it makes some of the meson stuff easier too.

Merge request reports