On Sun, Jan 30, 2005 at 11:16:35PM +0100, Arnd Bergmann wrote:
On S?nndag 30 Januar 2005 18:37, Christoph Hellwig wrote:
So you expect kerntypes-y := file.o
to be present in one or a few places outside arch/
And then in one or a few files within arch/ the arch
specific types are brought in with kerntypes-y := archfile.o
And kbuild shall link the resuting files to a single kerntypes.o file
to be located in the root of the kernel output dir.
Currenly it's called Kerntypes, which would make sense to be kept, but
else yes.
How about simply linking the kerntypes files into vmlinux? AFAIK, lcrash
is able to use vmlinux with stabs information instead of a separate
kerntypes file. Supporting this could be as simple as putting
obj-y += $(kerntypes-y)
$(kerntypes-y): CFLAGS += $(KERNTYPES_FLAGS)
into scripts/Makefile.build, although I haven't tried that.
Linking it into vmlinux would increase vmlinux size, which is exactly
what the Kerntypes approach is trying to avoid.
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel