On Sunday 15 March 2009 14:29:59 Wolfgang Denk wrote: > In message Jean-Christophe PLAGNIOL-VILLARD you wrote: > > > > as example generate via the config.h a env var name > > > > standalone_load_addr automaticly so the end user will just have to > > > > built it, load it and run it > > > > > > This is error prone. NAK. > > > > which error? > > The load address of a standalone application cannot be known at > compile time of the U-Boot image. > > Please don't assume that the code / Makefiles etc. of that application > is even part of the U-Boot source tree or build system. > > Please don't assume that everybody uses the same load addresses. > > Please don't asume that all standalone applications running on a > system use the same load addresses - there are cases, where several SA > apps are simultaneously loaded, etc. > > > Don't try to be clever when this cannot work.
i dont really see the value in moving the load addr from the u-boot build env to the board env automatically, but moving the definitions from examples/Makefile to the top level $arch_config.mk sounds sane to me. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot