Re: compile problems with the kernel

Matthias Urlichs (smurf@work.noris.de)
24 Mar 1998 22:41:21 +0100


"Marty Leisner" <leisner@sdsp.mc.xerox.com> writes:
> Why don't we just leave make alone
> (so you can do
>
> make -j 2
> like you normally do instead of
> make MAKE='make -j 2'

Easy, because the main Make just does a
for i in $SUBDIRS; do $MAKE -C $$i; done
which cannot be parallelized unless you somehow propagate the -j into the
submake, which standard GNU make cannot do because it doesn't have a
central "how many jobs are currently running" counter.

Adding such a thing is basically impossible, unfortunately, unless you want
to reimplement a /bin/sh parser inside Make. :-/

-- 
Matthias Urlichs
noris network GmbH

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu