[PATCH v2] MAKEALL: make it generic

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 29 09:33:43 EDT 2010


On Wed, Sep 29, 2010 at 12:31:55PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 09:29 Wed 29 Sep     , Sascha Hauer wrote:
> > Hi J,
> > 
> > On Mon, Sep 27, 2010 at 06:02:29PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > On 16:35 Mon 27 Sep     , Sascha Hauer wrote:
> > > > On Mon, Sep 27, 2010 at 08:12:34AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > > > add MAKEALL.cfg example
> > > > > 
> > > > > it's allow you to compile specific defconfig or ARCH or all
> > > > > as
> > > > > CROSS_COMPILE=arm-linux- ARCH=arm ./MAKEALL at91sam9263ek_defconfig
> > > > > CROSS_COMPILE=arm-linux- ARCH=arm ./MAKEALL
> > > > > 
> > > > > or via config
> > > > > 
> > > > > CONFIG=./MAKEALL.cfg ARCH=arm ./MAKEALL at91sam9263ek_defconfig
> > > > > CONFIG=./MAKEALL.cfg ARCH=arm ./MAKEALL
> > > > > 
> > > > > and for all
> > > > > 
> > > > > CONFIG=./MAKEALL.cfg ./MAKEALL
> > > > > 
> > > > > you can specify
> > > > > JOBS            jobs
> > > > > BUILDDIR        build dir
> > > > > LOGDIR          log dir
> > > > 
> > > > Would be good to have this example somewhere in the code, maybe as help
> > > > text in MAKEALL
> > > MAKEALL -h is ok?
> > 
> > Yes, -h and if called without arguments.
> no agument means all arch

Ah, yes.

> 
> I prefer to printf it just if -h or missing info

Missing info is what I meant, I remember seeing an error message the
first time I called the script.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list