All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libconfig: split package for C++
@ 2021-01-12 21:29 Stefano Babic
  0 siblings, 0 replies; only message in thread
From: Stefano Babic @ 2021-01-12 21:29 UTC (permalink / raw)
  To: openembedded-devel; +Cc: stefan, Stefano Babic, Khem Raj

There is current just one package for libconfig and libconfig++ library.
In case footprint matters as an image in initramfs, the C++ binding if
not required adds additional dependencies (libstdc++).

This split the packages to let include just what is needed.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Suggested-by : Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Reported-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/libconfig/libconfig_1.7.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-extended/libconfig/libconfig_1.7.2.bb b/meta-oe/recipes-extended/libconfig/libconfig_1.7.2.bb
index 148e85ce1..70ea82eb9 100644
--- a/meta-oe/recipes-extended/libconfig/libconfig_1.7.2.bb
+++ b/meta-oe/recipes-extended/libconfig/libconfig_1.7.2.bb
@@ -13,3 +13,7 @@ inherit autotools-brokensep pkgconfig
 
 SRC_URI[md5sum] = "6bd98ee3a6e6b9126c82c916d7a9e690"
 SRC_URI[sha256sum] = "7c3c7a9c73ff3302084386e96f903eb62ce06953bb1666235fac74363a16fad9"
+
+PACKAGE_BEFORE_PN = "${PN}++"
+FILES_${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"
+
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-12 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 21:29 [PATCH] libconfig: split package for C++ Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.