* 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
* Re: Simple script to build all configs
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
0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Kerr @ 2006-10-06 3:23 UTC (permalink / raw)
To: Olof Johansson, Michael Ellerman; +Cc: linuxppc-dev
> Jeremy asked for it, so I figured more might have use for it. Simple
> script to build all defconfigs for an arch.
Looks like I'll have someone to join me at reading school.
Olof - I think it was Michael who was asking about this?
Jeremy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Simple script to build all configs
2006-10-06 3:23 ` Jeremy Kerr
@ 2006-10-06 3:34 ` Olof Johansson
0 siblings, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2006-10-06 3:34 UTC (permalink / raw)
To: Jeremy Kerr; +Cc: linuxppc-dev
On Fri, 6 Oct 2006 13:23:28 +1000 Jeremy Kerr <jk@ozlabs.org> wrote:
>
> > Jeremy asked for it, so I figured more might have use for it. Simple
> > script to build all defconfigs for an arch.
>
> Looks like I'll have someone to join me at reading school.
>
> Olof - I think it was Michael who was asking about this?
You're so alike it's so hard to tell you apart sometimes. :-)
Yes, I can't read either.
-Olof
^ 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).