uclibc svn: beat it into a working state, but given the massive desinterest the OE...
authorKoen Kooi <koen@openembedded.org>
Wed, 20 Sep 2006 08:32:55 +0000 (08:32 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 20 Sep 2006 08:32:55 +0000 (08:32 +0000)
packages/uclibc/uclibc_svn.bb

index c2821eb..d9b20ea 100644 (file)
@@ -9,29 +9,23 @@
 UCLIBC_BASE ?= "0.9.28"
 PV = "${UCLIBC_BASE}+svn${SRCDATE}"
 PR = "r2"
+
 #DEFAULT_PREFERENCE is 0 (empty), releases have a preference of 1 so take
 # precedence.
 
 require uclibc.inc
 
+PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
+
+#recent versions uclibc require real kernel headers 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-cvs', '${FILE_DIRNAME}/uclibc-${UCLIBC_BASE}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
 
-# This is the correct KERNEL_SOURCE location, if the uClibc
-# fix_includes.sh script is run (see nokernelheader.patch below)
-# this must be correct.
-KERNEL_SOURCE = "${CROSS_DIR}/${TARGET_SYS}"
+#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_KERNEL_DIR}"
 
 SRC_URI += "svn://uclibc.org/trunk;module=uClibc"
 
 S = "${WORKDIR}/uClibc"
 
-#*** PATCHES ***
-#
-# The nokernelheadercheck patch removes the check on the include
-# files in ${KERNEL_SOURCE}, however this check seems to be
-# functioning correct now so the patch is not included.  It may
-# be necessary to add this for architectures which do not initially
-# have a 'good' set of kernel header files in the cross directory.
-#UCLIBC_PATCHES += "file://nokernelheadercheck.patch;patch=1"
-#
-