diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-20 04:22:57 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-05-20 04:22:57 -0500 |
| commit | a620981920379e49d5a3c511de00b9f0d22c3049 (patch) | |
| tree | 198151f4bd5ebe84e6429c8330717f80d8984d44 /include/linux | |
| parent | 159b176db2ef80f83d72130acfd994d189f85c7f (diff) | |
kbuild: Speed up vmlinux build
The recursive build used to do the following: On entering a directory,
we would first call make in the subdirectories listed in $(subdir-y),
and then call make in the current directory again, with the target
'all_targets'.
The second invocation was used to make sure that the subdir makes completed
before trying to build the O_TARGET/L_TARGET in the current dir, since
this would link in objects in these subdirectories.
However, using correct dependencies achieves the same, i.e. just
make the objects in $(obj-y) which are not in the local subdirectory
depend on 'sub_dirs', which is the rule to descend into subdirs.
This patch actually halves the time "make vmlinux" takes when there's
nothing to do (which makes sense, as we save half of the make invocations)
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
