lkml.org 
[lkml]   [2002]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: touch commands in Makefiles
Date
On Fri, 25 Jan 2002 16:54:39 +1100, 
Brendan J Simon <brendan.simon@bigpond.com> wrote:
>Why are header file touched in Makefiles ?

To handle the two level dependencies on CONFIG options. bar.c depends
on foo.h which depends on CONFIG_BLIP. Change CONFIG_BLIP and the
Makefiles touch foo.h which in turn recompiles bar.c.

Yes, it sucks with source repositories. Which is why kbuild 2.5
completely removes this "feature", with kbuild 2.5 you can build from a
read only file system.

>You then tell it which files you intend to modify and it
>will check those files out as read-write to the local sandbox.

Even easier with kbuild 2.5, it has shadow trees. You keep the base
read only, copy the files to modify to a separate tree and kbuild 2.5
logically merges all the files.

http://sourceforge.net/projects/kbuild/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.086 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site