>From 28232ad0c9bea3133493e056e7d828958e74da66 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Jun 2011 01:47:33 -0700 Subject: [PATCH] uclibc.inc: libsegfault is only RPROVIDED by uclibc Using ${PN} also means that uclibc-initial gets to provide it which we do not want so move this to uclibc recipe Signed-off-by: Khem Raj --- meta/recipes-core/uclibc/uclibc.inc | 1 - meta/recipes-core/uclibc/uclibc_git.bb | 5 +++++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc index 00f5e8d..13a6164 100644 --- a/meta/recipes-core/uclibc/uclibc.inc +++ b/meta/recipes-core/uclibc/uclibc.inc @@ -89,7 +89,6 @@ RPROVIDES_uclibc-dev += "libc-dev virtual-libc-dev" # uclibc does not really have libsegfault but then using the one from glibc is also not # going to work. So we pretend that we have it to make bitbake not pull other recipes # to satisfy this dependency for the images/tasks -RPROVIDES_${PN} += "libsegfault" SRC_URI = "\ http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2;name=uClibc-${PV} \ diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb index 6445243..d5b9e40 100644 --- a/meta/recipes-core/uclibc/uclibc_git.bb +++ b/meta/recipes-core/uclibc/uclibc_git.bb @@ -5,6 +5,11 @@ PV = "0.9.31+0.9.32rc3" PR = "${INC_PR}.4" PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" +# uclibc does not really have libsegfault but then using the one from glibc is also not +# going to work. So we pretend that we have it to make bitbake not pull other recipes +# to satisfy this dependency for the images/tasks + +RPROVIDES_${PN} += "libsegfault" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ -- 1.7.4.1