You don't need to set up a crosscompile toolchain (which i never got working properly)
b-rad posted a debian squeeze image .bin which you can mount and chroot into, then you can apt-get whatever you need to compile on wd
http://forum.wdlxtv.com/viewtopic.php?f=43&t=494





