Messages in this thread | | | Date | Fri, 4 Mar 2005 14:22:19 -0800 | From | Andrew Morton <> | Subject | Re: RFD: Kernel release numbering |
| |
"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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |