mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
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>
This commit is contained in:
@@ -16,20 +16,23 @@ SRCREV = "f1691fc91fc113191c3a8aaf5facd6983334ec47"
|
||||
SRC_URI = "git://github.com/OpenSC/OpenSC \
|
||||
file://0001-Remove-redundant-logging.patch \
|
||||
"
|
||||
DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
|
||||
DEPENDS = "virtual/libiconv openssl"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
inherit autotools pkgconfig bash-completion
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--disable-static \
|
||||
--enable-openct \
|
||||
--disable-pcsc \
|
||||
--disable-ctapi \
|
||||
--disable-doc \
|
||||
"
|
||||
EXTRA_OEMAKE = "DESTDIR=${D}"
|
||||
|
||||
PACKAGECONFIG ??= "pcsc"
|
||||
|
||||
PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct"
|
||||
PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite"
|
||||
|
||||
RDEPENDS_${PN} = "readline"
|
||||
|
||||
FILES_${PN} += "\
|
||||
|
||||
Reference in New Issue
Block a user