Well the problem was windows line endings. Since my build machine wasn't online at first I used TortoiseSVN on my windows machine to sync with the OpenWrt trunk and then transferred to my linux machine. I didn't have my eol-style set to LF so the line ending in all my makefiles scripts etc got hosed. Once i converted those back to linux line endings I am up and building.
cd /home/openwrl
find . | xargs -n1 flip -u