Patchwork [062/131] userspace-rcu: Fix DEPENDS/RDEPENDS for all packages

login
register
mail settings
Submitter christian.braunersorensen@prevas.dk
Date Jan. 14, 2014, 12:33 p.m.
Message ID <8ae740ca179fea2b67b0b05c8ec454eab1476517.1389702652.git.christian.braunersorensen@prevas.dk>
Download mbox | patch
Permalink /patch/310671/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

christian.braunersorensen@prevas.dk - Jan. 14, 2014, 12:33 p.m.
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/lttng/userspace-rcu.inc | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

Patch

diff --git a/recipes/lttng/userspace-rcu.inc b/recipes/lttng/userspace-rcu.inc
index 4ed644f..f0c1d80 100644
--- a/recipes/lttng/userspace-rcu.inc
+++ b/recipes/lttng/userspace-rcu.inc
@@ -5,13 +5,25 @@  LICENSE = "LGPLv2.1"
 
 RECIPE_TYPES = "machine"
 
-inherit library autotools-autoreconf
+inherit autotools-autoreconf auto-package-libs
 
 SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2"
 
 # Recipe build dependencies
 DEPENDS = "libpthread"
-
-# Package dependencies
-LIBRARY_NAME = "liburcu"
-DEPENDS_${PN} += "libpthread"
+AUTO_PACKAGE_LIBS = "urcu-bp urcu-cds urcu-common urcu urcu-mb \
+		urcu-qsbr urcu-signal"
+AUTO_PACKAGE_LIBS_DEV_DEPENDS += "libc libpthread"
+AUTO_PACKAGE_LIBS_RDEPENDS += "libc libpthread"
+DEPENDS_${PN}-liburcu-bp += "liburcu-common"
+RDEPENDS_${PN}-liburcu-bp += "liburcu-common"
+DEPENDS_${PN}-liburcu-cds += "liburcu-common"
+RDEPENDS_${PN}-liburcu-cds += "liburcu-common"
+DEPENDS_${PN}-liburcu += "liburcu-common"
+RDEPENDS_${PN}-liburcu += "liburcu-common"
+DEPENDS_${PN}-liburcu-mb += "liburcu-common"
+RDEPENDS_${PN}-liburcu-mb += "liburcu-common"
+DEPENDS_${PN}-liburcu-qsbr += "liburcu-common"
+RDEPENDS_${PN}-liburcu-qsbr += "liburcu-common"
+DEPENDS_${PN}-liburcu-signal += "liburcu-common"
+RDEPENDS_${PN}-liburcu-signal += "liburcu-common"