summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/serenade/Options.lb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/serenade/Options.lb')
-rw-r--r--src/mainboard/amd/serenade/Options.lb9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mainboard/amd/serenade/Options.lb b/src/mainboard/amd/serenade/Options.lb
index 4c4cfb432b..37fd3ea508 100644
--- a/src/mainboard/amd/serenade/Options.lb
+++ b/src/mainboard/amd/serenade/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,7 +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
###
### Build options
@@ -157,7 +158,7 @@ default CONFIG_ROM_STREAM = 1
##
## The default compiler
##
-default CC="gcc -m32"
+default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc"
##