From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 17 Feb 2011 09:33:21 +0100 Subject: [U-Boot] [PATCH] Introduce a new linker flag LDFLAGS_FINAL In-Reply-To: <201102170037.42565.vapier@gentoo.org> References: <1296498767-26408-1-git-send-email-Haiying.Wang@freescale.com> <1297881643.1977.28.camel@haiying-laptop> <20110216185807.85766151B54@gemini.denx.de> <201102170037.42565.vapier@gentoo.org> Message-ID: <20110217083321.D5585151B54@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 Mike Frysinger, In message <201102170037.42565.vapier@gentoo.org> you wrote: > > > I usually do this on the fly using shell scripting capabilities, i.e. > > something like this (copying some shell functions from MAKEALL): ... > this is is generally useful, perhaps MAKEALL should grow a flag to back up the > generated files with board-qualified names like the log files ... Yes, the general approach is certainly very useful, and I use it a lot to run all kinds of tests. However, I usually find myself interested in very different kinds of results; looking at the .map files is just one of the many use cases so I would not know what sort of "state saving" code to implement by default. The most generic approach is of course an out-of-tree build with a separate build directory for each board. But then, this costs a lot of ressources and is only seldom really needed. So I really don;t have a goiod suggestion how to generalize this. I tend to rather spread the word how such things can be done, and do them on the fly as needed. 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 "It ain't so much the things we don't know that get us in trouble. It's the things we know that ain't so." - Artemus Ward aka Charles Farrar Brown