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-24 13:49:20 +0100
commit87e7242df95af1045c6733e8746d01b1c6024dd6 (patch)
tree33460a14036c127460f6737cb8ff82f00ec13a03
parent288d29ed090844a4f4d50836c466353abb0c1bb9 (diff)
downloadopenembedded-87e7242df95af1045c6733e8746d01b1c6024dd6.tar.gz
openembedded-87e7242df95af1045c6733e8746d01b1c6024dd6.tar.bz2
openembedded-87e7242df95af1045c6733e8746d01b1c6024dd6.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"