Re: [PATCH] kbuild: work around distcc/icecc madness

From: Thomas Gleixner
Date: Fri Mar 20 2009 - 12:02:03 EST


On Fri, 20 Mar 2009, Peter Zijlstra wrote:
> Yes, this makes it mostly work again... however,
>
> On -linus I can do:
>
> # cat distmake
>
> #!/bin/bash
>
> ARCH=$1; shift
>
> export LD="nice -n19 ${ARCH}-linux-ld"
> export AS="distcc ${ARCH}-linux-as"
> export CC="distcc ${ARCH}-linux-gcc"
>
> make LD="$LD" AS="$AS" CC="$CC" -j $DISTCC_SLOTS "$@"
>
> # distmake x86_64 bzImage
>
> to build the tree, and then use:
>
> # make install
>
> to install the resulting image. Note how the second make will use the
> system gcc and not the distcc with cross arch toolchain.
>
> This will still start a full rebuild on -tip. When I change my script to
> use distmake x86_64 install, things work again after this patch.

Changing from distcc to gcc will start a full rebuild on linus tree as
well.

Thanks,

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