aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libconfig
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2021-01-12 22:29:43 +0100
committerKhem Raj <raj.khem@gmail.com>2021-01-13 10:22:23 -0800
commit35d249bb9a575a5a48491052896e121266d515f0 (patch)
tree221e9b9b3f9d721cfbe7bfbcb266cfd84d6dcb29 /meta-oe/recipes-extended/libconfig
parentb2d9c69405a631c5221e87741622e88849208744 (diff)
downloadmeta-openembedded-contrib-35d249bb9a575a5a48491052896e121266d515f0.tar.gz
meta-openembedded-contrib-35d249bb9a575a5a48491052896e121266d515f0.tar.bz2
meta-openembedded-contrib-35d249bb9a575a5a48491052896e121266d515f0.zip
libconfig: split package for C++
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libconfig')
-rw-r--r--meta-oe/recipes-extended/libconfig/libconfig_1.7.2.bb4
1 files changed, 4 insertions, 0 deletions
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 148e85ce11..70ea82eb99 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}"
+