Re: [PATCH 0/4] Compile kernel with -fwhole-program --combine

David Woodhouse
2006-08-25T09:45:25Z

On Fri, 2006-08-25 at 11:11 +0200, Jan Engelhardt wrote:
> That's what I meant. Assume I explicitly built read.o foo.o and bar.o.
> If I then run the regular make, it will rerun gcc for read.c foo.c and
> bar.c rather than using the already-created .o files for linking.

Yes. Just as if I run 'make fs/ntfs/inode.o' and then build my kernel,
my build of fs/ntfs/inode.o isn't used -- because I don't have
CONFIG_NTFS set.

You built something manually that wasn't needed, and then it wasn't
used. Is there a problem here?

--
dwmw2