From: Geert Uytterhoeven Date: Sat, 12 May 2012 20:39:07 +0000 (+0200) Subject: sh: Setup CROSS_COMPILE at the top X-Git-Tag: v3.5-rc3~23^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14a5fdc26986f7bac8376a339f336be18ba2a90;p=pandora-kernel.git 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 Cc: Paul Mundt Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Mundt --- Reading git-diff-tree failed