From: Wolfgang Denk Date: Tue, 07 Jun 2011 22:04:56 +0200 Subject: [U-Boot] [PATCH v3 2/4] build/mkconfig: Add EXTRA_OPTS argument to make to modify build In-Reply-To: References: <201106031524.48868.vapier@gentoo.org> <1307131671-22745-1-git-send-email-msm@freescale.com> <20110604075638.5F88FD0B106@gemini.denx.de> <20110604123340.638EC126F39C@gemini.denx.de> Message-ID: <20110607200456.105001B993AE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear McClintock Matthew-B29882, In message 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