mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
libgpiod: split c++ library to its own package
I need (some of) the gpiod tools in my initramfs. That, of course, pulls in the workhorse in the form of the libgpiod C library. But it also pulls in the C++ library which is cobundled with libgpiod, which in turn means that libstdc++ gets pulled in, adding about 2.5MB to the initramfs. Fix that by splitting the C++ library to its own package. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
7910f2b645
commit
533ad71725
@@ -14,3 +14,6 @@ EXTRA_OECONF = "--enable-tools"
|
||||
PACKAGES =+ " ${PN}-tools"
|
||||
|
||||
FILES_${PN}-tools = "${bindir}/*"
|
||||
|
||||
PACKAGES =+ "libgpiodcxx"
|
||||
FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
|
||||
|
||||
Reference in New Issue
Block a user