From patchwork Tue Jan 14 12:33:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: christian.braunersorensen@prevas.dk X-Patchwork-Id: 310613 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 567CD2C00B0 for ; Tue, 14 Jan 2014 23:35:37 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 030D13FDF4 for ; Tue, 14 Jan 2014 13:35:36 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 910453FDE5 for ; Tue, 14 Jan 2014 13:35:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=3074; q=dns/txt; s=ironport1; t=1389702903; x=1421238903; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=IIHqb12DjuJxQY43i9CK6FbTJi7Z0YW0z3aFKIonPjE=; b=uMZcZjfgmpt94MSroRIcKApQGGYXaFcsm0C/BVE7WXJ6/suOH1FV6p80 2jOeHDh0WxKhunyo0aR3pEgsqeW7SrtRwhFWzLaHDnMPGmDqoKhffFIbs AHLglGtBjuLs6IFBuqaT9LVA84GCA168kzMSC96N83Fp2gAf2s8PWLP3I 4=; X-IronPort-AV: E=Sophos;i="4.95,658,1384297200"; d="scan'208";a="4300214" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 14 Jan 2014 13:35:01 +0100 Received: from localhost (172.16.10.102) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server id 14.2.347.0; Tue, 14 Jan 2014 13:35:01 +0100 Received: by localhost (Postfix, from userid 30007) id 83FF1681563; Tue, 14 Jan 2014 12:35:01 +0000 (UTC) From: To: Subject: [PATCH 034/131] libnl: Fix DEPENDS/RDEPENDS for all packages Date: Tue, 14 Jan 2014 12:33:21 +0000 Message-ID: X-Mailer: git-send-email 1.8.4 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Christian Sørensen Signed-off-by: Christian Sørensen --- recipes/libnl/libnl.inc | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/recipes/libnl/libnl.inc b/recipes/libnl/libnl.inc index 26e1294..79aa16e 100644 --- a/recipes/libnl/libnl.inc +++ b/recipes/libnl/libnl.inc @@ -8,19 +8,15 @@ inherit autotools-autoreconf pkgconfig DEPENDS += "libm ${DEPENDS_LIBC}" DEPENDS_LIBC = "libpthread libdl" DEPENDS_LIBC:HOST_LIBC_mingw = "" -DEPENDS_${PN} += "libm ${DEPENDS_LIBC}" FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.a" FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.la" FILES_${PN}-dbg += "${libdir}/libnl/cli/*/.debug" inherit auto-package-libs -AUTO_PACKAGE_LIBS = "nl-3 nl-route-3 nl-nf-3 nl-genl-3 nl-cli-3" +AUTO_PACKAGE_LIBS = "nl-3 nl-route-3 nl-nf-3 nl-genl-3 nl-cli-3 nl-idiag-3" AUTO_PACKAGE_LIBS_LIBDIR = "${libdir}:lib:,.0 ${sharedlibdir}:lib:,.0:" AUTO_PACKAGE_LIBS_PCPREFIX = "lib" -AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev_${PV}" -RDEPENDS_${PN}-libnl-nf-3 += "libnl-3 libnl-route-3" -RDEPENDS_${PN}-libnl-cli-3 += "libnl-3 libnl-route-3 libnl-genl-3 libnl-nf-3" FILES_${PN}-libnl-route-3 += "${sysconfdir}/libnl/" inherit auto-package-utils @@ -29,9 +25,27 @@ nl-class-add nl-class-delete nl-classid-lookup \ nl-class-list nl-cls-add nl-cls-delete nl-cls-list \ nl-link-list nl-pktloc-lookup nl-qdisc-add \ nl-qdisc-delete nl-qdisc-list" -AUTO_PACKAGE_UTILS_RDEPENDS += "libnl-route-3 libnl-genl-3 libnl-nf-3" +AUTO_PACKAGE_UTILS_DEPENDS += "libc libdl libm libnl-3 libnl-cli-3 libnl-genl-3 \ + libnl-idiag-3 libnl-nf-3 libnl-route-3 libpthread" +AUTO_PACKAGE_UTILS_RDEPENDS += "libdl libm libnl-3 libnl-cli-3 libnl-cli-3 \ + libnl-genl-3 libnl-idiag-3 libnl-nf-3 libnl-route-3 \ + libpthread" -RDEPENDS_${PN} += "libm libpthread libc" -AUTO_PACKAGE_UTILS_RDEPENDS += "${PN} libnl-3" -AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev_${PV}" -AUTO_PACKAGE_LIBS_DEV_RDEPENDS = "${PN}-dev_${PV}" +AUTO_PACKAGE_LIBS_DEV_DEPENDS += "libc libm libpthread" +AUTO_PACKAGE_LIBS_RDEPENDS += "libc libm libpthread" +DEPENDS_${PN}-libnl-nf-3 += "libnl-route-3 libnl-3" +RDEPENDS_${PN}-libnl-nf-3 += "libnl-route-3 libnl-3" +DEPENDS_${PN}-libnl-route-3 += "libnl-3" +RDEPENDS_${PN}-libnl-route-3 += "libnl-3" +DEPENDS_${PN}-libnl-idiag-3 += "libnl-3" +RDEPENDS_${PN}-libnl-idiag-3 += "libnl-3" +DEPENDS_${PN}-libnl-genl-3 += "libnl-3" +RDEPENDS_${PN}-libnl-genl-3 += "libnl-3" +DEPENDS_${PN}-libnl-cli-3 += "libnl-genl-3 libnl-idag-3 libnl-nf-3 \ + libnl-route-3 libnl-3 libdl" +RDEPENDS_${PN}-libnl-cli-3 += "libnl-genl-3 libnl-idag-3 libnl-nf-3 \ + libnl-route-3 libnl-3 libdl" +DEPENDS_${PN} += "libc libm ${DEPENDS_LIBC} libnl-3 libnl-cli-3 \ + libnl-genl-3 libnl-idiag-3 libnl-nf-3 libnl-route-3" +RDEPENDS_${PN} += "libm libpthread libc libdl libnl-3 libnl-cli-3 libnl-genl-3 \ + libnl-idiag-3 libnl-nf-3 libnl-route-3"