[meta-virtualization] [PATCH 2/5] xen: drop explicit DEPEND on libgcc

Doug Goldstein cardoe at cardoe.com
Mon Jan 25 07:29:09 PST 2016


The ELFs that get built in the 'xen-xl' package do not have a NEEDED
entry on libgcc. 'xen-base' is a meta package and itself should not
depend on a library like this. Yocto checks the NEEDED of the dynamic
section and automatically includes those libraries as dependencies.

Signed-off-by: Doug Goldstein <cardoe at cardoe.com>
---
 recipes-extended/xen/xen.inc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index c63cb2c..c0acbcd 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -54,7 +54,7 @@ DEPENDS = " \
 RDEPENDS_${PN} = ""
 
 RDEPENDS_${PN}-base = "\
-    libgcc bash perl xz \
+    bash perl xz \
     ${PN}-blktap \
     ${PN}-console \
     ${PN}-libblktapctl \
@@ -137,8 +137,6 @@ RDEPENDS_${PN}-xendomains = "\
     ${PN}-xenstored \
     "
 
-RDEPENDS_${PN}-xl = "libgcc"
-
 RDEPENDS_${PN}-xentrace = "python"
 
 RDEPENDS_${PN}-xen-watchdog = "bash"
-- 
2.4.10



More information about the meta-virtualization mailing list