crosstool sanitized headers patch
Steve Papacharalambous
stevep@zee2.com
Tue Apr 26 15:04:00 GMT 2005
Hi Arno,
I just found a problem with the sanitized headers patch for
crosstool-0.30, crosstool-sanitized-headers.diff
The problem occurs when trying to build using linux kernel headers, and
the error is:
[snip]
++ awk '/^VERSION =/ { print $3 }' linux-2.6.8/Makefile
awk: cmd. line:2: fatal: cannot open file `linux-2.6.8/Makefile' for
reading (No such file or directory)
+ KERNEL_VERSION=
+ exit 1
[/snip]
The problem is that the environment variable LINUX_DIR is no longer
converted to an absolute path.
I've attached a patch with a fix,
Best regards,
Steve
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crosstool-sanitized-headers-v1.1.diff
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20050426/64fc2e74/attachment.ksh>
-------------- next part --------------
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list