From c8b8e0f833eefaf566d58e8ccd1133dfdbef480a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 20 Sep 2006 08:32:55 +0000 Subject: 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 --- packages/uclibc/uclibc_svn.bb | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'packages/uclibc') 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" -# - -- cgit v1.2.3