From: Wolfgang Denk Date: Wed, 24 Apr 2013 07:36:50 +0200 Subject: [U-Boot] [PATCH] Allow U-Boot scripts to be placed in a .env file In-Reply-To: References: <1366155414-6525-1-git-send-email-sjg@chromium.org> <20130417054435.3E4612001AD@gemini.denx.de> <20130423233351.GL14952@bill-the-cat> Message-ID: <20130424053650.23124384874@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 Otavio Salvador, In message you wrote: > > I fully agree that the environment file should be as easy as possible > to be written. However I also think it should be parsed by CPP or > something which would allow us to 'include' other environment files > and enable/disable parts of it depending on board config. My ultimate > goal with it would be to allow sharing of environment setup across > different boards (for example the Freescale boards). Don't overdesign this. Keep it simple. If you want, you can split up the settings into several functional blocks (variable groups; this could even be mapped into the actual U-Boot env, too). Then simply concatenate the right selection of parts. See my previous message to Simon - keep the format compatible with "env import/export -t". 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 Today is the yesterday you worried about tomorrow.