linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [REPOST] script to build all defconfigs
@ 2007-11-14 20:32 Olof Johansson
  0 siblings, 0 replies; only message in thread
From: Olof Johansson @ 2007-11-14 20:32 UTC (permalink / raw)
  To: linuxppc-dev

I've been asked to post the script again, might as well update with the
latest version.

See below. I normally use this as:

$ CROSS_COMPILE= ARCH=powerpc TARGET="vmlinux modules" buildall

modules won't build on some of the embedded platforms though, so you'll
have to weed out those build errors by hand, or do:

$ CROSS_COMPILE= ARCH=powerpc TARGET=vmlinux buildall


---

#!/bin/bash

#export CC="ccache gcc"

echo -n cleaning:
make $O -ks mrproper
echo "  done"

for config in arch/$ARCH/configs/* allnoconfig allmodconfig allyesconfig ; do
	CONFIG=`basename $config`
	echo -n $ARCH.$CONFIG: ;
	yes "" | make $O $CONFIG >buildall.log 2>&1
	if time make $O $TARGET -ksj 5 >>buildall.log 2>&1 ; then
		mv buildall.log $ARCH.$CONFIG.log.passed
		echo "	passed"
	else
		mv buildall.log $ARCH.$CONFIG.log.failed
		echo "	failed"
	fi
done

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-14 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 20:32 [REPOST] script to build all defconfigs Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).