aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-09-17 22:02:04 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2018-09-19 10:25:27 +0800
commit7ff6a7aef33e79e3b5aa392be7e9b9be18eca613 (patch)
tree39d75c8b1516853fee16860a00a65197a625196f
parent3de211fbeb394c78c5fe5c46859fd9883b268113 (diff)
downloadopenembedded-core-contrib-hongxu/dbg-split.tar.gz
openembedded-core-contrib-hongxu/dbg-split.tar.bz2
openembedded-core-contrib-hongxu/dbg-split.zip
xerces-c: split one dpg packagehongxu/dbg-split
Multiple -dbg packages per recipe is not encouraged, and only one is recommended and the code only works properly in some cases for one. Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages requiring. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r--meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb9
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb
index 9bc4ea3219..0951307c15 100644
--- a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb
+++ b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb
@@ -24,24 +24,21 @@ do_install_prepend () {
}
PACKAGES = "libxerces-c \
- libxerces-c-dbg \
libxerces-c-dev \
xerces-c-samples \
- xerces-c-samples-dbg \
libxerces-c-staticdev \
+ ${PN}-dbg \
"
+RPROVIDES_${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg"
+
FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so"
-FILES_libxerces-c-dbg = "${libdir}/.debug \
- ${prefix}/src/debug \
-"
FILES_libxerces-c-dev = "${libdir}/lib*.la \
${libdir}/libxerces-c.so \
${libdir}/pkgconfig/xerces-c.pc \
${includedir}/xercesc \
"
FILES_xerces-c-samples = "${bindir}/*"
-FILES_xerces-c-samples-dbg = "${bindir}/.debug/"
FILES_libxerces-c-staticdev = "${libdir}/lib*.a"
BBCLASSEXTEND = "native"