diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-05-07 01:19:09 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-06 23:20:29 -0700 |
commit | 533ad71725afd87b1909ee95f63b79346dea1892 (patch) | |
tree | 3f054f28ae7ac8725d817175b33503fe58fc1353 /meta-oe | |
parent | 7910f2b64575dcd3352effd441accb3b56e3554d (diff) | |
download | meta-openembedded-533ad71725afd87b1909ee95f63b79346dea1892.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc index 07ce35a7f2..cae3145dd0 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod.inc +++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc @@ -14,3 +14,6 @@ EXTRA_OECONF = "--enable-tools" PACKAGES =+ " ${PN}-tools" FILES_${PN}-tools = "${bindir}/*" + +PACKAGES =+ "libgpiodcxx" +FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" |