summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/solo/Options.lb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/solo/Options.lb')
-rw-r--r--src/mainboard/amd/solo/Options.lb9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mainboard/amd/solo/Options.lb b/src/mainboard/amd/solo/Options.lb
index 998215d6c6..905fea2df5 100644
--- a/src/mainboard/amd/solo/Options.lb
+++ b/src/mainboard/amd/solo/Options.lb
@@ -34,8 +34,6 @@ uses MAINBOARD_VENDOR
uses MAINBOARD
uses LINUXBIOS_EXTRA_VERSION
uses _RAMBASE
-uses CC
-uses HOSTCC
uses TTYS0_BAUD
uses TTYS0_BASE
uses TTYS0_LCS
@@ -43,6 +41,10 @@ uses DEFAULT_CONSOLE_LOGLEVEL
uses MAXIMUM_CONSOLE_LOGLEVEL
uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
uses CONFIG_CONSOLE_SERIAL8250
+uses CROSS_COMPILE
+uses CC
+uses HOSTCC
+uses OBJCOPY
###
@@ -157,7 +159,8 @@ default CONFIG_ROM_STREAM = 1
##
## The default compiler
##
-default CC="gcc -m32"
+default CROSS_COMPILE=""
+default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc"
##