[U-Boot] [PATCH v3 2/4] build/mkconfig: Add EXTRA_OPTS argument to make to modify build

Wolfgang Denk wd at denx.de
Tue Jun 7 22:04:56 CEST 2011


Dear McClintock Matthew-B29882,

In message <BANLkTiknz2xgLw=w-FynuZo=X6AY-pUdpA at mail.gmail.com> you wrote:
>
> How do I make a new build configuration without making changes to
> boards.cfg or the Makefile? I could add a new entry there for every
> bootstrap build but I was trying and hoping to avoid this. For example
> for every build I could need the following
> 
> BOARD_NAND
> BOARD_NAND_IN_BOOTSTRAP
> BOARD_SPIFLASH
> BOARD_SPIFLASH_IN_BOOTSTRAP
> BOARD_SDCARD
> BOARD_SDCARD_IN_BOOTSTRAP

Are these independent targets?  I think you don't run a
"./MAKEALL BOARD_SDCARD_IN_BOOTSTRAP" alone, right?

You can set all types of make variable sinternally during different
stages of the build, like we already do with the nand_spl code.

I have to admit that I don't even understand why you would need
separate top-level FOO and FOO_IN_BOOTSTRAP make targets.  Please
elucidate.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
For every complex problem, there is a solution that is simple,  neat,
and wrong.                                               - Mark Twain


More information about the U-Boot mailing list