summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-12-15 11:43:58 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-12-15 11:45:52 +0100
commitd12f186b2eb5d769e602057538ce4abfa2f40399 (patch)
tree7e9229ece4ec81722d8ef4b989221bc7af0e6238
parent667fa1e2acbe9eefe7735d274259c382e82dddf3 (diff)
downloadptxdist-d12f186b2eb5d769e602057538ce4abfa2f40399.tar.gz
ptxdist-d12f186b2eb5d769e602057538ce4abfa2f40399.tar.xz
pcsc-lite: disable libusb support - use libudev instead if needed
Either libusb or libudev are used for hotplug support, remove libusb. Just select libudev for hotplug if needed. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/pcsc-lite.in4
-rw-r--r--rules/pcsc-lite.make2
2 files changed, 1 insertions, 5 deletions
diff --git a/rules/pcsc-lite.in b/rules/pcsc-lite.in
index 33ede43a4..4bf1528ee 100644
--- a/rules/pcsc-lite.in
+++ b/rules/pcsc-lite.in
@@ -4,7 +4,6 @@ menuconfig PCSC_LITE
tristate "pcsc-lite "
select UDEV if PCSC_LITE_LIBUDEV
select UDEV_LIBUDEV if PCSC_LITE_LIBUDEV
- select LIBUSB if PCSC_LITE_LIBUSB
help
Middleware to access a smart card using PC/SC (library)
@@ -21,9 +20,6 @@ if PCSC_LITE
config PCSC_LITE_LIBUDEV
bool "libudev support"
-config PCSC_LITE_LIBUSB
- bool "libusb support"
-
config PCSC_LITE_DEBUGATR
bool "enable ATR debug messages from pcscd"
help
diff --git a/rules/pcsc-lite.make b/rules/pcsc-lite.make
index 31ec91121..2e0357cbc 100644
--- a/rules/pcsc-lite.make
+++ b/rules/pcsc-lite.make
@@ -39,7 +39,7 @@ PCSC_LITE_CONF_TOOL := autoconf
PCSC_LITE_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--$(call ptx/endis, PTXCONF_PCSC_LITE_LIBUDEV)-libudev \
- --$(call ptx/endis, PTXCONF_PCSC_LITE_LIBUSB)-libusb \
+ --disable-libusb \
--enable-usbdropdir=/usr/lib/pcsc \
--$(call ptx/endis, PTXCONF_PCSC_LITE_DEBUGATR)-debugatr \
--with-systemdsystemunitdir=/lib/systemd/system