* Simple script to build all configs
@ 2006-10-06 2:53 Olof Johansson
2006-10-06 3:23 ` Jeremy Kerr
0 siblings, 1 reply; 3+ messages in thread
From: Olof Johansson @ 2006-10-06 2:53 UTC (permalink / raw)
To: linuxppc-dev
Jeremy asked for it, so I figured more might have use for it. Simple
script to build all defconfigs for an arch.
I use it with ARCH and CROSS_COMPILE set outside of the script, i.e.
$ ARCH=powerpc ~/bin/buildall
I also pass in TARGET="vmlinux modules" in cases where default targets
don't build (very common on ARCH=ppc).
#!/bin/sh
export CC="ccache gcc"
make mrproper
for config in arch/$ARCH/configs/* ; do
CONFIG=`basename $config`
echo -n $ARCH.$CONFIG: ;
yes "" | make $CONFIG >buildall.log 2>&1
if make $TARGET -j 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] 3+ messages in thread
end of thread, other threads:[~2006-10-06 3:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-06 2:53 Simple script to build all configs Olof Johansson
2006-10-06 3:23 ` Jeremy Kerr
2006-10-06 3:34 ` 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).