nvme: add optional udev support
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 19 Apr 2016 01:54:24 +0000 (11:54 +1000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 19 Apr 2016 07:33:18 +0000 (09:33 +0200)
commitc0293c3cc9f99b81c78ed193a7ce6187c6c4c78d
tree2da732513620e0ff423d47a4145f41549882588b
parentbabf1190b3ef0dac15a99c862c814e916d32d819
nvme: add optional udev support

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>
package/nvme/nvme.mk