summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-i386
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-11-05 10:48:04 +0000
committerEric Biederman <ebiederm@xmission.com>2004-11-05 10:48:04 +0000
commit709850a21b1bdfb0018aa2a7ee06a7407bbd465c (patch)
tree9aa0549858c03180139a7d528e5cb21982eff1ba /src/mainboard/emulation/qemu-i386
parentd0805e0b55e63957b3641fa70cf1db624389e3f6 (diff)
- Ensure every copy of Options.lb uses:
CROSS_COMPILE CC HOSTCC OBJCOPY git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1755 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/emulation/qemu-i386')
-rw-r--r--src/mainboard/emulation/qemu-i386/Options.lb8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-i386/Options.lb b/src/mainboard/emulation/qemu-i386/Options.lb
index 0d0023ff8e..9047dc6000 100644
--- a/src/mainboard/emulation/qemu-i386/Options.lb
+++ b/src/mainboard/emulation/qemu-i386/Options.lb
@@ -34,8 +34,6 @@ uses MAINBOARD_PART_NUMBER
uses MAINBOARD_VENDOR
uses LINUXBIOS_EXTRA_VERSION
uses _RAMBASE
-uses CC
-uses HOSTCC
uses TTYS0_BAUD
uses TTYS0_BASE
uses TTYS0_LCS
@@ -45,6 +43,10 @@ uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
uses CONFIG_CONSOLE_SERIAL8250
uses HAVE_INIT_TIMER
uses CONFIG_GDB_STUB
+uses CROSS_COMPILE
+uses CC
+uses HOSTCC
+uses OBJCOPY
###
### Build options
@@ -159,7 +161,7 @@ default CONFIG_ROM_STREAM = 1
##
## The default compiler
##
-default CC="gcc -m32"
+default CC="$(CROSS_COMPILE)gcc -m32"
default HOSTCC="gcc"
##