aboutsummaryrefslogtreecommitdiff
path: root/package/pcsc-lite
diff options
context:
space:
mode:
authorGravatar eric.le.bihan.dev@free.fr <eric.le.bihan.dev@free.fr>2014-02-07 14:21:33 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-12 22:14:19 +0100
commitfabcb119b978c123ce8903b637beb63dd605dccd (patch)
tree4dbc518d0a55d73104c06eb4c85d7472d2b7d908 /package/pcsc-lite
parent937a95449ecaad02386523f8fe2eeefbea6be971 (diff)
downloadbuildroot-fabcb119b978c123ce8903b637beb63dd605dccd.tar.gz
buildroot-fabcb119b978c123ce8903b637beb63dd605dccd.tar.bz2
udev: convert to virtual package
This patch converts udev to a virtual package. For the moment, there is only one provider for the udev features: eudev. Packages meant to provide udev-like features must select the symbol BR2_PACKAGE_HAS_UDEV. Packages depending on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV or BR2_PACKAGE_UDEV have been converted to use the new symbol. [Peter: move legacy symbols under 2014.05] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pcsc-lite')
-rw-r--r--package/pcsc-lite/Config.in2
-rw-r--r--package/pcsc-lite/pcsc-lite.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/pcsc-lite/Config.in b/package/pcsc-lite/Config.in
index 4cd89e93bc..aab42e8ce9 100644
--- a/package/pcsc-lite/Config.in
+++ b/package/pcsc-lite/Config.in
@@ -11,7 +11,7 @@ if BR2_PACKAGE_PCSC_LITE
config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
bool "use libusb"
- depends on !BR2_PACKAGE_UDEV
+ depends on !BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_LIBUSB
help
Select Y if you want to support usb smart card readers.
diff --git a/package/pcsc-lite/pcsc-lite.mk b/package/pcsc-lite/pcsc-lite.mk
index afbe822561..18859cdb12 100644
--- a/package/pcsc-lite/pcsc-lite.mk
+++ b/package/pcsc-lite/pcsc-lite.mk
@@ -16,7 +16,7 @@ PCSC_LITE_LICENSE_FILES = COPYING
# - libudev and libusb can't be used together
# - libudev has a priority over libusb
-ifeq ($(BR2_PACKAGE_UDEV),y)
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
PCSC_LITE_CONF_OPT += --enable-libudev --disable-libusb
PCSC_LITE_DEPENDENCIES += udev
else