Re: RFD: Kernel release numbering

Andrew Morton
2005-03-04T23:51:53Z

"Richard Purdie" <rpurdie@rpsys.net> wrote:
>
> As an experiment I ran "bitbake meta-sdk" on my copy of openemedded. A while
> later I have these in the deploy directory amongst other things.
>
> http://www.rpsys.net/openzaurus/arm-cross/binutils-cross-sdk-2.15.91.0.2-r5.tar.gz
> (3.8MB)
> http://www.rpsys.net/openzaurus/arm-cross/gcc-cross-sdk-3.4.2-r0.tar.gz
> (17.5MB)

Bless you. I just built an arm kernel!

That compiler is *fast*. 47 seconds. Weird.

For reference, untar the above in / and use

#!/bin/sh
export ARCH=arm
export CROSS_COMPILE=arm-linux-
W=/usr/local/arm/oe/bin

MAKE="make"

if [ -z "$1" ]
then
WHAT="vmlinux"
else
WHAT="$1"
fi

nr_cpus=$(grep processor /proc/cpuinfo|wc -l)
j=$(expr $nr_cpus \* 3 / 2)

MAKE_ARGS="ARCH=$ARCH CROSS_COMPILE=$W/arm-linux-"

if [ x"$DISTCC_HOSTS" != x ]
then
$MAKE -j 12 CC="ccache distcc --ccache-skip $W/$CROSS_COMPILE""gcc" $MAKE_ARGS $WHAT 2>/tmp/log
else
$MAKE -j $j $MAKE_ARGS CC="$W/$CROSS_COMPILE""gcc" $WHAT 2>/tmp/log
fi
cat /tmp/log

That's now eight architectures I'll compile-test mm kernels on.