Point to correct dir containing kernel headers
authorStelios Koroneos <skoroneos@digital-opsis.com>
Tue, 19 Dec 2006 19:49:56 +0000 (19:49 +0000)
committerStelios Koroneos <skoroneos@digital-opsis.com>
Tue, 19 Dec 2006 19:49:56 +0000 (19:49 +0000)
packages/uclibc/uclibc_svn.bb

index ef9c40d..568f8d4 100644 (file)
@@ -21,9 +21,10 @@ PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-cvs', '${FILE_DIRNAME}/uclibc-${UCLIBC_BASE}', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
 
-#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}"
+# 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}"
 
 SRC_URI += "svn://uclibc.org/trunk;module=uClibc"