]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Setup CROSS_COMPILE at the top
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 12 May 2012 20:14:36 +0000 (22:14 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 16 May 2012 12:02:04 +0000 (14:02 +0200)
commitadcb8e429293782113db57a109037abe917e1866
treeea26c596f98814d983f65ab3d91d3facac738f4d
parentcc9e2fcd9995b0e0a992810c7ff01d2cb3c1eb51
m68k: Setup CROSS_COMPILE at the top

CROSS_COMPILE must be setup before using e.g. cc-option (and a few other
as-*, cc-*, ld-* macros), else they will check against the wrong compiler
when cross-compiling, and may invoke the cross compiler with wrong or
suboptimal compiler options.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer<gerg@uclinux.org>
arch/m68k/Makefile