On Wed, May 24, 2000 at 06:50:09PM +0200, Harald Koerfgen wrote:
> Ok, trying to fix that I added a fastdep rule to arch/mips/tools/Makefile
> only to
> find myself in a catch 22 situation. offset.c includes asm/ptrace.h which, in
> turn, includes asm/offset.h, i.e. you have to have offset.h to create
> offset.h :-o
> Without heavily messing around with several header files, which may have an
> impact on non-MIPS platforms as well, I see no easy solution for that. Adding
> empty offset.h, on the other hand, and leaving the .cvsignore in place should
> least partially do what I want. Any objections?
> And now for something completly different. Why the hell did I mess around with
> Well, if something in the kernel is changed which affects offset.h then
> generating a diff against a fresh CVS copy will contain those differences.
> annoyed me because, personally, I find this disturbing when reviewing those
> Nobody really needs that anyway, at least that's what I thought, because
> is generated automatically.
> The suggestion I made above would not solve that but at least avoids that
> changes creep into the CVS.
A good solution is important now that we have SMP. Toggling CONFIG_SMP
affects offset.h and not for all variations of make invocations we
actually have the guarantee that offset.h is being rebuilt before using