Port-arm archive

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

Re: evbarm default odroid C1kernel fail to compile



On Thu, Jul 28, 2016 at 10:04:10PM +0200, Christof Meerwald wrote:
> Looking through the makefiles it looks like this might be coming from
> conf/Makefile.kern.inc, line 80:
> 
> .  if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
>         ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "prep"
> CWARNFLAGS+=    -Wextra -Wno-unused-parameter
> .  endif
> 
> 
> It looks like that sets compile options based on the host instead of
> the target architecture...

No, those MACHINE* variables describe the target (assuming you invoke the
proper cross-make-wrapper, $TOOLDIR/bin/nbmake-$targetarch; and build.sh
does that).

Martin


Home | Main Index | Thread Index | Old Index