uboot compilation failing

Embedded User
Hi All,

I have downloaded u-boot from 
git://repo.or.cz/u-boot-openmoko/mini2440.git and and tried compiling with
the arm-linux-gcc toolchain provided at
http://www.friendlyarm.net/downloads. I unzipped the toolchain and added it
to my $PATH.
I followed the steps 
1. cd u-boot/mini2440
2. setenv CROSS_COMPILE arm-none-linux-gnueabi- 
3. make clean 
4. make mini2440_config

on the last step I am getting the error
: invalid option
make: *** [mini2440_config] Error 1

Can somebody help me in correcting this error. 

Thanks.

Embedded User
Hi All,
I was able to solve the problem. This occurs when we save the Uboot source
code on some non-unix/Linux machine. I directly downloaded the source code
onto my Linux machine and it worked fine.