h8300: Don't set CROSS_COMPILE unconditionally
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 16 Oct 2015 11:31:27 +0000 (13:31 +0200)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Sun, 8 Nov 2015 13:44:43 +0000 (22:44 +0900)
commit3bc27cdfe989906fb025204c68a6f85b07b3a192
treef80672c1417ce1943d107e12238e4c8c582f6cfc
parenta02613a4ba679eacec8251976d02809d533fa717
h8300: Don't set CROSS_COMPILE unconditionally

The h8300 architecture Makefile sets the CROSS_COMPILE variable to
"h8300-unknown-linux-" unconditionally but doing that prevents the
variable to be used if a toolchain with a different binary name is
installed in the machine.

So only set CROSS_COMPILE to that default if the variable has not
been set by the user before.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
arch/h8300/Makefile