summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-09-20 08:32:55 +0000
committerKoen Kooi <koen@openembedded.org>2006-09-20 08:32:55 +0000
commitc8b8e0f833eefaf566d58e8ccd1133dfdbef480a (patch)
treeadcf919225b23243cedaa54e32573c6061782139 /packages
parent92650fec0571e5fdafa2516b772cd0bdf6e754e2 (diff)
uclibc svn: beat it into a working state, but given the massive desinterest the OE/uclibc people are displaying for patches sent to the mailinglist, this could break for some configurations
Diffstat (limited to 'packages')
-rw-r--r--packages/uclibc/uclibc_svn.bb22
1 files changed, 8 insertions, 14 deletions
diff --git a/packages/uclibc/uclibc_svn.bb b/packages/uclibc/uclibc_svn.bb
index c2821eb585..d9b20ea26a 100644
--- a/packages/uclibc/uclibc_svn.bb
+++ b/packages/uclibc/uclibc_svn.bb
@@ -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"
-#
-