summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s2885/Options.lb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/tyan/s2885/Options.lb')
-rw-r--r--src/mainboard/tyan/s2885/Options.lb10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mainboard/tyan/s2885/Options.lb b/src/mainboard/tyan/s2885/Options.lb
index 520fde347c..5c4d79ea52 100644
--- a/src/mainboard/tyan/s2885/Options.lb
+++ b/src/mainboard/tyan/s2885/Options.lb
@@ -36,8 +36,6 @@ uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
uses LINUXBIOS_EXTRA_VERSION
uses _RAMBASE
-uses CC
-uses HOSTCC
uses TTYS0_BAUD
uses TTYS0_BASE
uses TTYS0_LCS
@@ -47,7 +45,11 @@ uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
uses CONFIG_CONSOLE_SERIAL8250
uses HAVE_INIT_TIMER
uses CONFIG_GDB_STUB
-
+uses CONFIG_GDB_STUB
+uses CROSS_COMPILE
+uses CC
+uses HOSTCC
+uses OBJCOPY
###
### Build options
@@ -163,7 +165,7 @@ default CONFIG_ROM_STREAM = 1
##
## The default compiler
##
-default CC="gcc"
+default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc"
##