I typically do
$ make -j4 MAKE="make -j4" bzImage
to build kernels. However, in the recent bitkeeper tree (as ~7pm CST), it
fails with:
make -j4 -f scripts/Makefile.build obj=arch/i386/boot arch/i386/boot/bzImage
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** read jobs pipe: Is a directory. Stop.
make[1]: *** Waiting for unfinished jobs....
make: *** [bzImage] Error 2
as the last few lines. However, a single-threaded make completes fine.
More output is available upon request.
-pat
On Wed, Dec 04, 2002 at 10:23:40PM -0600, Patrick Mochel wrote:
>
> I typically do
>
> $ make -j4 MAKE="make -j4" bzImage
Try the GNU-and-improved:
make -j4
I just tried that and it works fine.
I think MAKE= is a remnant of the old kbuild. Shouldn't be needed
anymore since the build doesn't descend into directories the way it used
to.
Also, just plain "make" is preferred now, too :)
It builds bzImage and modules both.
Jeff
> Try the GNU-and-improved:
>
> make -j4
>
> I just tried that and it works fine.
>
> I think MAKE= is a remnant of the old kbuild. Shouldn't be needed
> anymore since the build doesn't descend into directories the way it used
> to.
>
> Also, just plain "make" is preferred now, too :)
> It builds bzImage and modules both.
Ahhh. Very nice.
Thanks,
-pat
On Wed, Dec 04, 2002 at 11:49:13PM -0500, Jeff Garzik wrote:
> Try the GNU-and-improved:
>
> make -j4
>
> I just tried that and it works fine.
>
> I think MAKE= is a remnant of the old kbuild. Shouldn't be needed
> anymore since the build doesn't descend into directories the way it used
> to.
AFAIK MAKE= is a remnant of old/non-GNU make's -- even with the old
kbuild, it's unneeded with newer GNU make releases AFAIK.
-Barry K. Nathan <[email protected]>