lkml.org 
[lkml]   [2004]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.082 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site