[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Crosscompiling Kernel and Madwifi for Cobalt 2



Maverick West a écrit :
> After a couple of hours, weeks, month i created an crosscompiled kernel
> package for my cobalt. While this I got some warning that kernel
> configuration tells mips-linux-gnu and I am using mipsel-linux-gnu for
> compiling. So now my question what type of cross compiler do I need
> mipsel oder mips linux-gnu?
> 
> One more question to cross compiling the kernel I only ran
> 
> Make-kpkg –arch mips –subarch cobalt –cross_compile mipsel-linux-gnu-
> 
> The kernelpath an CC I exported. Do I have to add some patches before
> compiling or would this compiled kernel work correctly?
> 
>  
> 
> The reason why I need to cross compile the kernel is that I need to
> compile madwifi for cobalt as kernel module. While trying compile it on
> cobalt itself it cancelled with some error.
> 
> After cross compiling the kernel I tried to compile the madwifi
> 
>  
> 
> Make ARCH=mips CC=mipsel-linux-gnu-gcc KERNELPATH=…
> 
> After the message that the kernel config tells mips2 but the other
> configuration matches mips4, I change it in the header file of the hal
> and the compilation succeeded.
> 
>  
> 
> I there a better way to compile madwifi for the cobalt?
> 
> Actually I want to know how correctly cross compile for cobalt.
> 

I think you should have a look to bug#433158, a patch is proposed to fix
the problem.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: