]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Setup CROSS_COMPILE at the top
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 12 May 2012 20:39:07 +0000 (22:39 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Jun 2012 02:42:13 +0000 (11:42 +0900)
commitdf4ba64bd3c04af015a4e1776e521924ab310ee4
tree73c18d3e70d69c84391b4101e0553b4d03997e73
parent205213a89f8cf1b257afc89f51e6efea99e0a4b0
sh: 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>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile