public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* kbuild/all archs: Sanitize creating offsets.h
@ 2004-10-28 18:59 Sam Ravnborg
  2004-10-28 19:00 ` New kbuild filename: Kbuild Sam Ravnborg
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Sam Ravnborg @ 2004-10-28 18:59 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton, linux-arch; +Cc: Sam Ravnborg

When creating offsets.h from arch/$(ARCH)/Makefile we failed to check
all dependencies. A few key dependencies were listed - but a manually
edited list of include files are bound to be incomplete.
A few times I have tried building a kernel - which failed because
offsets.h needed to be updated but kbuild failed to do so.
I wonder what could happen with a kernel with an out-dated offsets.h
file with wrong assembler constants.

This serie of patches fixes this.
Generating offsets.h is moved to include/asm-$(ARCH)/Kbuild and
the usual dependency tracking is used to detect when an update is needed.

With this mail four patches are posted:
o Accept kbuild file named Kbuild
o generic support for offsets.h
o changes for i386
o changes for arm

The second patch breaks all architectures...

My bk tree at bk://linux-sam.bkbits.net/kbuild contains support for most
architectures (sh and cris missing for now).

	Sam

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2004-10-29 20:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 18:59 kbuild/all archs: Sanitize creating offsets.h Sam Ravnborg
2004-10-28 19:00 ` New kbuild filename: Kbuild Sam Ravnborg
2004-10-28 17:30   ` Geert Uytterhoeven
2004-10-29 11:59   ` Christoph Hellwig
2004-10-29 19:12     ` Sam Ravnborg
2004-10-29 17:47       ` Roman Zippel
2004-10-29 20:46         ` Sam Ravnborg
2004-10-28 19:01 ` kbuild: generic support for offsets.h Sam Ravnborg
2004-10-28 19:02 ` i386: use " Sam Ravnborg
2004-10-29  9:52   ` Jan-Benedict Glaw
2004-10-29 19:05     ` Sam Ravnborg
2004-10-28 19:03 ` arm: use generic support for constants.h Sam Ravnborg
2004-10-28 19:44 ` kbuild/all archs: Sanitize creating offsets.h Russell King
2004-10-28 21:59   ` Sam Ravnborg
2004-10-28 21:00     ` Russell King
2004-10-28 23:45       ` Sam Ravnborg
2004-10-29 21:28         ` Sam Ravnborg
2004-10-29 19:51           ` Russell King
2004-10-29 22:36             ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox