[U-Boot] [PATCH 01/10] mkconfig: parse top level makefile target to multiple config targets

Hu Mingkai-B21284 Mingkai.Hu at freescale.com
Mon Sep 7 12:24:25 CEST 2009


 

> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de] 
> Sent: Monday, September 07, 2009 6:18 PM
> To: Hu Mingkai-B21284
> Cc: Kumar Gala; Wood Scott-B07421; U-Boot-Users ML; Mike Frysinger
> Subject: Re: [PATCH 01/10] mkconfig: parse top level makefile 
> target to multiple config targets
> 
> Dear "Hu Mingkai-B21284",
> 
> In message 
> <73839B4A0818E747864426270AC332C30447ECAF at zmy16exm20.fsl.frees
> cale.net> you wrote:
> >
> > > It should be enough to pass the make target name to the mkconfig 
> > > script resp. the board config file, i. e. in this case either 
> > > "CONFIG_MPC8536DS_NAND" or "CONFIG_MPC8536DS_NAND_36BIT". 
> The rest 
> > > of the scripting/decision making can then be done in the board 
> > > config file.
> > > 
> >
> > Thanks for your replay, but I'm not totally catch on you.
> > "the board config file" in your words refer to 
> board/*/config.mk, right?
> 
> No, with "board config file" I mean include/configs/*.h
> 

How can I parse the board name in a header file?

If config booting from NAND, we also need to override the TEXT_BASE
in the board/*/config.mk file, how could we do that?

Thanks,
Mingkai


More information about the U-Boot mailing list