summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2019-11-21 13:09:10 +0100
committerKhem Raj <raj.khem@gmail.com>2019-11-22 09:22:47 -0800
commit060ad325b654d3b8680a14a892a8061a12691a56 (patch)
tree9241d7010adc50830cd2c0c32361c446a0727288
parente2180b00b3b8fcf776c341d4b4e7bd435a3619ea (diff)
downloadmeta-openembedded-060ad325b654d3b8680a14a892a8061a12691a56.tar.gz
opensc: use pcsc-lite instead of openct by default
OpenCT upstream maintenance seems to have stopped and OpenSC upstream uses pcsc-lite by default in their configure script. Add PACKAGECONFIGs for each and select pcsc by default. As the openct package depends on pcsc-lite by itself, this avoids an unnecessary package in the default case. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/opensc/opensc_0.19.0.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/opensc/opensc_0.19.0.bb b/meta-oe/recipes-support/opensc/opensc_0.19.0.bb
index bc1722e394..440859a37a 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.19.0.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.19.0.bb
@@ -16,20 +16,23 @@ SRCREV = "f1691fc91fc113191c3a8aaf5facd6983334ec47"
16SRC_URI = "git://github.com/OpenSC/OpenSC \ 16SRC_URI = "git://github.com/OpenSC/OpenSC \
17 file://0001-Remove-redundant-logging.patch \ 17 file://0001-Remove-redundant-logging.patch \
18 " 18 "
19DEPENDS = "openct pcsc-lite virtual/libiconv openssl" 19DEPENDS = "virtual/libiconv openssl"
20 20
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22inherit autotools pkgconfig bash-completion 22inherit autotools pkgconfig bash-completion
23 23
24EXTRA_OECONF = " \ 24EXTRA_OECONF = " \
25 --disable-static \ 25 --disable-static \
26 --enable-openct \
27 --disable-pcsc \
28 --disable-ctapi \ 26 --disable-ctapi \
29 --disable-doc \ 27 --disable-doc \
30" 28"
31EXTRA_OEMAKE = "DESTDIR=${D}" 29EXTRA_OEMAKE = "DESTDIR=${D}"
32 30
31PACKAGECONFIG ??= "pcsc"
32
33PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct"
34PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite"
35
33RDEPENDS_${PN} = "readline" 36RDEPENDS_${PN} = "readline"
34 37
35FILES_${PN} += "\ 38FILES_${PN} += "\