Cross-compile kernel module with Eclipse

Hi everybody,

I’m trying to cross-compil kernel module with Eclipse CDT.
I already followed http://lvr.com/eclipse1.htm to cross-compile user space applications for the BeagleBoard-xM
After I builded the kernel using OE thanks to setup-scripts.
I’m sure it’s possible to build kernel module with Eclipse but I don’t see how to use the OE tree with Eclipse.
I found http://www.danielsprogramming.com/?p=484 and other article, but I have this error.
So I changed the default build command from “make” to “make -C /usr/src/linux-headers-2.6.32-41-generic M=$(PWD) modules”
And I have erros I don’t understand :

make -C /usr/src/linux-headers-2.6.32-41-generic M=$(PWD) modules all
make: Entering directory /usr/src/linux-headers-2.6.32-41-generic' scripts/Makefile.build:44: /home/mum/workspace/hello_world/BB_debug/Makefile: No such file or directory make[1]: *** No rule to make target /home/mum/workspace/hello_world/BB_debug/Makefile’. Stop.
make: Leaving directory `/usr/src/linux-headers-2.6.32-41-generic’
make: *** [module/home/mum/workspace/hello_world/BB_debug] Error 2

What am I doing wrong ?
Jerome