aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-11-23 00:19:39 +0100
committerLeon Woestenberg <leon@sidebranch.com>2009-11-23 00:19:39 +0100
commitb67572044aeefa7e8075610e85520c0413c65332 (patch)
tree2328228eaf79f3c0a929215670f0f5ca59798091
parent5972232c4e838740282bb319c110e07df7247359 (diff)
downloadopenembedded-b67572044aeefa7e8075610e85520c0413c65332.tar.gz
openembedded-b67572044aeefa7e8075610e85520c0413c65332.tar.bz2
openembedded-b67572044aeefa7e8075610e85520c0413c65332.zip
uclibc-nios2-0.9.27.bb: Use PROVIDES.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
-rw-r--r--recipes/uclibc/uclibc_nios2-0.9.27.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/recipes/uclibc/uclibc_nios2-0.9.27.bb b/recipes/uclibc/uclibc_nios2-0.9.27.bb
index c56194699d..1fd729d618 100644
--- a/recipes/uclibc/uclibc_nios2-0.9.27.bb
+++ b/recipes/uclibc/uclibc_nios2-0.9.27.bb
@@ -1,10 +1,19 @@
DEFAULT_PREFERENCE = "1"
-PR = "r1"
require uclibc.inc
+PR = "${INC_PR}.0"
+
+PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
SRC_URI += "http://127.0.0.1/uClibc-${PV}.tar.bz2"
S = "${WORKDIR}/uClibc"
+#recent versions uclibc require real kernel headers
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+#as stated above, uclibc needs real kernel-headers
+#however: we can't depend on virtual/kernel when nptl hits due to depends deadlocking ....
+KERNEL_SOURCE = "${STAGING_DIR_HOST}/${exec_prefix}"
+
#SRC_URI += "http://127.0.0.1/uClibc-${PV}.tar.bz2"
#S = "${WORKDIR}/git"