Messages in this thread | | | From | Benno <> | Date | Fri, 13 Aug 2004 10:37:43 +1000 | Subject | Re: Generation of *.s files from *.S files in kbuild |
| |
On Thu Aug 12, 2004 at 22:25:35 +0300, Dan Aloni wrote: >Hello, > >Is the generation of *.s files from *.S files in the kernel >build system a wide spread phenomenon? As far as I can see >only vmlinux.lds.s is built that way in my default i386 config. > >It causes problems when trying to cross-build a kernel on a >file system that has case-insensitive filenames, or on a GNU >port that is case insensitive (such as Cygwin). > >If anyone wondered, I'm trying to cross build a Linux kernel >on a Cygwin system using a Linux native toolchain, in order >to make development of the Windows port of coLinux easier >for some people.
Hi Dan,
I'm having the exact same problem on Mac OSX with the case-insensitive HFS+ filesystem.
After looking the only files that use this rule are the vmlinux.lds files. (Although there is one of them for each architecture.)
It is actually a bit frustrating because due to the way make works this is a problem even if you use a separate build directory.
The solution is fairly striaght forward -- just change the suffixes, the problem is exactly how to change them. I would propose changing it such that was stick with "vmlinux.lds.S" and have it generate "vmlinux.lds"
This would require the fewest changes to implement, just 1/ change %.s %.S rule to %.lds %.lds.S 2/ change the link flags from "-T vmlinux.lds.s" -> "-T vmlinux.lds"
Cheers,
Benno
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |