Re: [patch] 2.4.19-pre8-ac2 kbuild 2.4 tmp_include_depends

Tomas Szepe (szepe@pinerecords.com)
Sun, 12 May 2002 14:54:39 +0200


> [Keith Owens <kaos@ocs.com.au>, May-12 2002, Sun, 22:22 +1000]
> On Sun, 12 May 2002 12:39:46 +0200,
> Tomas Szepe <szepe@pinerecords.com> wrote:
> >> [Keith Owens <kaos@ocs.com.au>, May-12 2002, Sun, 20:11 +1000]
> >> Missed one occurrence of .tmp_include_depends. Edit Makefile, find
> >> $(patsubst %, _dir_%, $(SUBDIRS)) and change .tmp_include_depends to
> >> tmp_include_depends (no '.' at start).
> >>
> >> Corrected patch against 2.4.19-pre8-ac2.
> >
> >Great work, Keith!
> >"make modules_install" takes like 2 seconds w/ -ac now!
>
> That was not the aim (although I will accept the praise :). The patch
> ensures that cross directory header dependencies are done correctly on
> kbuild 2.4. Any speed up as a side effect of removing .hdepend from
> Rules.make is a bonus.

Now these are some side effects I like!

<cut>
2.4.19-pre8-ac1:
$ time make dep clean bzImage modules
...
real 6m22.176s

$ time su -c 'make modules_install'
...
real 0m6.963s

----

2.4.19-pre8-ac2 + patch-2.4.19-pre8-ac2-kbuildfix2:
$ time make dep clean bzImage modules
...
real 5m57.509s

$ time su -c 'make modules_install'
...
real 0m2.255s
<cut>

> kbuild mantra - correctness first, speed second.

Thumbs up!

T.
-
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/