aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-28 14:36:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 13:10:18 +0100
commitbdfd2f6f286889b8920ebf6a670542b26534c1cb (patch)
treeb7d75feafa682922e37140badcf3130c7ec6d2d1 /meta/recipes-core/uclibc/uclibc_git.bb
parent6a013236d362874c661aa5f15b948aac32177181 (diff)
downloadopenembedded-core-contrib-bdfd2f6f286889b8920ebf6a670542b26534c1cb.tar.gz
openembedded-core-contrib-bdfd2f6f286889b8920ebf6a670542b26534c1cb.tar.bz2
openembedded-core-contrib-bdfd2f6f286889b8920ebf6a670542b26534c1cb.zip
uclibc: Separate the bits between uclibc and uclibc-initial
uclibc and uclibc-initial were providing conflicting PROVIDES separate the common bits into logical pieces. Create a common inc file to hold package information and version specific includes so correct logical units can be included in uclibc and uclibc-initial recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc_git.bb')
-rw-r--r--meta/recipes-core/uclibc/uclibc_git.bb33
1 files changed, 14 insertions, 19 deletions
diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb
index 1744c487523..4e5b830b6f9 100644
--- a/meta/recipes-core/uclibc/uclibc_git.bb
+++ b/meta/recipes-core/uclibc/uclibc_git.bb
@@ -1,27 +1,22 @@
SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a"
require uclibc.inc
+require uclibc-package.inc
+require uclibc-git.inc
-# We prefer a release version so DP -1 for this
-DEFAULT_PREFERENCE = "-1"
+STAGINGCC = "gcc-cross-intermediate"
+STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
-PV = "0.9.33+git${SRCPV}"
-PR = "${INC_PR}.1"
-PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
+PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
-FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}"
+DEPENDS = "virtual/${TARGET_PREFIX}binutils \
+ virtual/${TARGET_PREFIX}gcc-intermediate \
+ linux-libc-headers ncurses-native"
-SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \
- file://uClibc.machine \
- file://uClibc.distro \
- file://uclibc_enable_log2_test.patch \
- file://powerpc_copysignl.patch \
- file://argp-support.patch \
- file://argp-headers.patch \
- file://remove_attribute_optimize_Os.patch \
- file://compile-arm-fork-with-O2.patch \
- file://uclibc-execvpe.patch \
- file://orign_path.patch \
- "
+RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
+RPROVIDES_${PN}-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
-S = "${WORKDIR}/git"
+RPROVIDES_${PN} += "libsegfault rtld(GNU_HASH)"