
18 Nov
2003
18 Nov
'03
4:49 p.m.
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.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Weekends were made for programming. - Karl Lehenbauer