[Top] [All Lists]

Re: CVS linux

To: Ralf Baechle <>
Subject: Re: CVS linux
From: Harald Koerfgen <>
Date: Thu, 25 May 2000 19:14:03 +0200 (CEST)
Cc: SGI Linux <>, Linux MIPS <>, Klaus Naumann <>
In-reply-to: <>
Organization: none
Reply-to: Harald Koerfgen <>
On 24-May-00 Ralf Baechle wrote:

> 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
> it.

What about making offset.h to depend on $(TOPDIR)/.config?

This may cause unneccessary rebuilds of objects depending on offset.h after
configuration changes but it forces offset.h to be rebuilt when CONFIG_SMP is

For example:
--- Makefile.old        Thu May 25 19:05:08 2000
+++ Makefile    Thu May 25 19:08:48 2000
@@ -18,7 +18,7 @@
 offset.h: offset.s
        sed -n '/^@@@/s///p' $^ >$@
-offset.s: offset.c
+offset.s: offset.c $(TOPDIR)/.config
        rm -f offset.[hs] $(TARGET).new                                         


<Prev in Thread] Current Thread [Next in Thread>