Simple script to build all configs
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
Quoted 3 lines
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
Quoted 7 lines · On Fri, 6 Oct 2006 13:23:28 +1000 Jeremy Kerr <[email protected]> wrote:
Quoted 3 lines
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