[U-Boot] [PATCH] Introduce a new linker flag LDFLAGS_FINAL

Wolfgang Denk wd at denx.de
Thu Feb 17 09:33:21 CET 2011


Dear Mike Frysinger,

In message <201102170037.42565.vapier at 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


More information about the U-Boot mailing list