>>>>> "Sam" == Sam Ravnborg writes: Sam> On Mon, May 19, 2003 at 02:30:57PM +1000, Peter Chubb wrote: Sam> Content-Description: message body text >> At present, if you change something that means offsets.h should be >> regenerated, the automatic dependencies mechanism doesn't do it. >> >> Herewith a patch that adds proper dependency generation for >> printoffsets.s (and hence offsets.h) Sam> I agree with the intention, but not the solution. Other Sam> architectures generate a .s file from a .c file, and Sam> filechk_gen-asm-offsets in the top-level Makefile is used to Sam> retreive the asm offset parameters. OK, here's a patch that does it that way. Because some of the needed header files in turn depend on a symbol from offsets.h, I had to create a dummy one `by hand' if it didn't previously exist. A timestamp file, include/asm-ia64/.offsets.h.stamp, tracks when this was done so that 'make' after 'make clean' works; and 'make' after 'make' works.