mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-03-02 14:32:10 +00:00
Commands like 'nvme list' require libudev but support for libudev is decided at compile time, and in buildroot this is hard disabled. Add a check for udev and if it is available build nvme with udev support. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> [Thomas: - add comment to explain the LIBUDEV variable value - use += instead of = to assign <pkg>_MAKE_OPTS.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>