Patchwork [meta-networking,1/3] accel-ppp: resolve QA warnings and satisfy multilib

login
register
mail settings
Submitter Aws Ismail
Date Feb. 14, 2013, 9:51 p.m.
Message ID <1360878665-17503-2-git-send-email-aws.ismail@windriver.com>
Download mbox | patch
Permalink /patch/44673/
State Accepted, archived
Headers show

Comments

Aws Ismail - Feb. 14, 2013, 9:51 p.m.
Create -libs and -dbg splits to include .so and .debug
files, respectively to resolve the QA warning:
lib64-accel-ppp rdepends on lib64-accel-ppp-dev when
multilib is being used.

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
---
 .../recipes-protocols/accel-ppp/accel-ppp_git.bb   |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Patch

diff --git a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
index 9eb9bf8..d17cc78 100644
--- a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
+++ b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
@@ -8,6 +8,7 @@  DEPENDS = "openssl libpcre"
 
 inherit cmake
 
+PR = "r1"
 PV = "1.7.3+git"
 
 SRCREV = "4acfa46c321a344b9a6ce4128e72d1e02828d8a0"
@@ -23,3 +24,9 @@  EXTRA_OECMAKE = " \
                  -DRADIUS=FALSE \
                  -DNETSNMP=FALSE \
                 "
+FILES_${PN}-dbg += "/usr/lib/${BPN}/.debug/*"
+
+PACKAGES =+ "${PN}-libs"
+FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
+INSANE_SKIP_${PN}-libs = "dev-so"
+RDEPENDS_${PN} += "${PN}-libs"