Conditionally assign toolchain variables

tc-export apparently does not set the CROSS_COMPILE prefix for tools like gcc,
ar, etc. Instead, it seems to set the variables directly.

Conditionally assigning them in the Makefile with "?=" instead of "=" or ":="
makes cross compilation work for board overlays. With "=" instead of "?=",
compilation fails complaining that "atom" is not value for -mtune and -march.

BUG=none
TEST=Compiled for host (amd64), x86-generic and tegra2_seaboard

Change-Id: I9ddb2eb769d53be3ade5e325e9b83f343b9b19ba
1 file changed