In message [ref] you wrote:
make -C $KERNELSRCDIR SUBDIRS=$PWD modules
This should give you the correct gcc options.
[Speaking of vanilla kernel, not knowing ELDK in this respect].
Same for ELDK. We use a standard Linux kernel, too [just some bug
fixes and extensions included].
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
"It's when they say 2 + 2 = 5 that I begin to argue." - Eric Pepke
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/