opensc: Add 'readline' PACKAGECONFIG option

This helps us to also get rid of associated RDEPENDS declaration which
implicitly pulled readline to rootfs, even configure resolved readline
as not enabled.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Niko Mauno 2024-08-21 15:34:13 +00:00 committed by Khem Raj
parent dac59629e9
commit c066a6ff83
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -31,8 +31,7 @@ PACKAGECONFIG ??= "pcsc"
PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct"
PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib"
RDEPENDS:${PN} = "readline"
PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
FILES:${PN} += "\
${libdir}/opensc-pkcs11.so \