package/libnfc: add sub-options to enable individual drivers
authorLouis Aussedat <aussedat.louis@gmail.com>
Mon, 9 Dec 2019 21:59:23 +0000 (22:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 14 Dec 2019 22:48:18 +0000 (23:48 +0100)
commit1a49188a69416542087acd1246b17c0139ff0054
tree3455bfccbbbdab026b16e4cb42bd9cda69950abf
parent9c60cbaa78b1797b1d57054fc9e5b3dce76b59d4
package/libnfc: add sub-options to enable individual drivers

Until now, the arygon and pn53x_usb were unconditionally enabled, and
there were no options to choose other drivers. Therefore, we had
sub-options for each individual driver, keeping arygon and pn53x_usb
enabled by default to preserve backward compatibility.

Also, due to this, the BR2_TOOLCHAIN_HAS_THREADS dependency on the
libnfc package is no longer needed, and is only needed for some of the
sub-options.

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
[Thomas:
 - drop the default ""
 - remove the top-level HAS_THREADS dependency, and move it down to
   the sub-options that need it
 - improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnfc/Config.in
package/libnfc/libnfc.mk