building kernel for beagleboard xm

Hello all,

Im new to this, so I’ve encountered a problem while compiling the kernel.
I’ve used this tutorial:
http://beagleboard.org/linux

I have a beagleboard xm, which I want to boot with Angstrom.

I had no problem compiling the u-boot.
but while compiling the kernel with:

make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi- -j4 uImage dtbs

I got this:
Assembler messages:
Error: unrecognized option -mauto-it
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....

Does anybody have ideas on how to solve it?
For now I’m using a pre-built kernel, but I need to make some changes…

Thank you!
Aline