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.

        Arnd <><

Attachment: pgpYJ8DS1crJn.pgp
Description: signature

Reply via email to