[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0903201658140.29264@localhost.localdomain>
Date: Fri, 20 Mar 2009 17:00:00 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Peter Zijlstra <peterz@...radead.org>
cc: Sam Ravnborg <sam@...nborg.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] kbuild: work around distcc/icecc madness
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists