Debian update

Phil Endecott spam_from_qihw at
Tue Mar 30 12:23:21 EDT 2010

Guylhem Aznar wrote:
> make menuconfig defaults to amd x64 option (host system), even if I
> try to load the .config

Hi Guylhem,

As Xiangfu Liu says, you need to pass ARCH= and CROSS_COMPILE= to make 
when cross-compiling the kernel.  I typically do this with a shell 
variable or alias or similar:

export CROSSMK=make ARCH=mips CROSS_COMPILE=whatever
${CROSSMK} menuconfig

However, I'm a bit surprised that the OpenWRT build system doesn't hide 
this from you.  But then I know almost nothing about OpenWRT...


More information about the discussion mailing list