Well, first of all you'll need to make sure the module in question actually works with the kernel version you are trying to build it against. Kernel APIs do have a tendency to change.
As for technicalities, you may be better off with compiling it out of tree. 1. configure the kernel tree 2. Put the module in a separate directory 3. Create a proper Makefile in that directory 4. Go there, and run make -C /path/to/linux/tree M=`pwd` Or, alternatively, just use the newer kernel in general, if it is at all possible. On 03/17/2014 11:20 AM, Erez D wrote: > Hi > > i am cross compiling modules for kernel 3.6.9 for an arm embedded board > (comes with kernel but no modules). > however, i need a driver for 8188eu, which does not come with this kernel. > > i downloaded a new kernel tree with 8188eu driver. it is not 3.6.9 so > it will not insmod if i compile it directly (what file holds the > kernel version ?) > > i copied the subdir from kernel tree 2 to kernel tree 1, however do > not know how to configure the kernel to compile it > adding 'CONFIG_RTL8188EU=m' to .config and 'make modules' does not do it > > how do i do that ? > > > > thanks, > erez. > > > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il