diff options
-rw-r--r-- | packages/uclibc/uclibc_svn.bb | 22 |
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" -# - |