summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2016-08-23 09:24:02 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-09-02 11:25:16 +0200
commitdd02f80dcdf1de2840e9e2976f1e1536b87a5d40 (patch)
tree69daf23da75eedc1b6b20437b75c697fd2516b06 /rules
parentf1eab64097496872d6b8323109d45ff3c652c8ca (diff)
downloadptxdist-dd02f80dcdf1de2840e9e2976f1e1536b87a5d40.tar.gz
ptxdist-dd02f80dcdf1de2840e9e2976f1e1536b87a5d40.tar.xz
host-pcsc-lite: add new rule to build pcsc-lite on host
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/host-pcsc-lite.in15
-rw-r--r--rules/host-pcsc-lite.make29
2 files changed, 44 insertions, 0 deletions
diff --git a/rules/host-pcsc-lite.in b/rules/host-pcsc-lite.in
new file mode 100644
index 000000000..e737ab59c
--- /dev/null
+++ b/rules/host-pcsc-lite.in
@@ -0,0 +1,15 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_PCSC_LITE
+ tristate
+ help
+ Middleware to access a smart card using PC/SC (library)
+
+ The purpose of PC/SC Lite is to provide a Windows(R) SCard
+ interface in a very small form factor for communicating to
+ smartcards and readers.
+
+ The PC/SC Lite library is used to connect to the PC/SC
+ daemon from a client application and provide access to the
+ desired reader.
diff --git a/rules/host-pcsc-lite.make b/rules/host-pcsc-lite.make
new file mode 100644
index 000000000..e6eee9643
--- /dev/null
+++ b/rules/host-pcsc-lite.make
@@ -0,0 +1,29 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Steffen Trumtrar <s.trumtrar@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PCSC_LITE) += host-pcsc-lite
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_PCSC_LITE_CONF_TOOL := autoconf
+HOST_PCSC_LITE_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-libusb \
+ --disable-libudev
+
+# vim: syntax=make