Ok, I narrowed it down a bit.
The problem seems to lie with the path to the kernel sources in the original makefile of my driver.
When I first downloaded the sources from the author, it was a hardcoded and looked like this :
KDIR := /lib/modules/$(shell uname -r)/build
You made me change it to
KDIR := $(KERNELPATH)
which didn't work.
I then tried to hardcode it too just to see if at least it would compile. So, I used this line :
KDIR := /home/vmware/Desktop/buildroot-ng/openwrt/build_mipsel/linux-2.6-brcm/modules/lib/modules/2.6.17/build
That seemed to do the trick but now, make complains that it can't find some /arch/mipsel folder. I went to the /arch directory and there is only a /mips folder.
So, from what I understand, my real problem is telling make the right path to the kernel sources used in building my firmware image, and I don't seem to be able to do this on my own, newbie that I am.
anyone can help me with this?
Thanks again!
Stanislas