All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom.net>
To: linuxppc-dev@ozlabs.org
Subject: Simple script to build all configs
Date: Thu, 5 Oct 2006 21:53:34 -0500	[thread overview]
Message-ID: <20061005215334.46e813fc@pb15> (raw)

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

             reply	other threads:[~2006-10-06  2:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06  2:53 Olof Johansson [this message]
2006-10-06  3:23 ` Simple script to build all configs Jeremy Kerr
2006-10-06  3:34   ` Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061005215334.46e813fc@pb15 \
    --to=olof@lixom.net \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.