freedomdown
Still Fresh
- Joined
- Feb 5, 2011
- Messages
- 15
I am trying to compile drivers for a mini usb wifi N stick, but I've run into a deadend.
I finally got make and gcc installed and thought I could just run "make", then "make install" but it says
/lib/modules/2.6.27.46-omap1/build is missing
I'm pretty sure it's looking for the kernel source, And it looks like I can redirect it in the makefile to look somewhere else .
So I'm wondering if I should redirect it to look somewhere else on the NAND or do I have to download the kernel source and put it there? I've poked around the kernel git but i'm not sure what folder in the git it's needs to point to(I was hoping there would bea build directory in the git). So should I clone the whole git into /lib/modules/2.6.27.46-omap1/build or just part of it?
How hard is it to cross-compile drivers?
Any help would be great.
I finally got make and gcc installed and thought I could just run "make", then "make install" but it says
/lib/modules/2.6.27.46-omap1/build is missing
I'm pretty sure it's looking for the kernel source, And it looks like I can redirect it in the makefile to look somewhere else .
So I'm wondering if I should redirect it to look somewhere else on the NAND or do I have to download the kernel source and put it there? I've poked around the kernel git but i'm not sure what folder in the git it's needs to point to(I was hoping there would bea build directory in the git). So should I clone the whole git into /lib/modules/2.6.27.46-omap1/build or just part of it?
How hard is it to cross-compile drivers?
Any help would be great.