
Am Dienstag, 18. November 2003 16:49 schrieb Wolfgang Denk:
In message 03111816211506.23084@pcj86 you wrote:
u-boot has a clever mechanism we can use to avoid code duplication by using the VENDOR make variable. A good example is in board/siemens: the SCM and CCM boards both share common code.
Sounds interesting. I will spend some time on it next weekend.
Another option is to pass configuration options from the Makefile. See for example how CPU type, core frequency, availability of L2 cache and bus mode are handled for the TQM82xx boards.
Yes, I know about because of my last few PPC projects, but I think there are to many options for a NIOS board. We have to configure whole CPU functionality (not only a board). I'll compare both ways.
br, Stephan