summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-01-29 05:51:54 +0000
committerStefan Reinauer <stepan@openbios.org>2011-01-29 05:51:54 +0000
commite3509fdb681a65fb945dca28b5193733a1b84b22 (patch)
tree5a648b3fd36ae081f5b99d97134d2284e2f98a1d
parent86bd99aba2cec223df48c2a00bdea0450f6346e0 (diff)
downloadcoreboot-e3509fdb681a65fb945dca28b5193733a1b84b22.tar.xz
Pass all required toolchain parts to SeaBIOS correctly
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6317 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--payloads/external/SeaBIOS/Makefile.inc4
-rw-r--r--src/arch/x86/Makefile.inc3
2 files changed, 4 insertions, 3 deletions
diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc
index 8b44c6fb98..0ffdb638e1 100644
--- a/payloads/external/SeaBIOS/Makefile.inc
+++ b/payloads/external/SeaBIOS/Makefile.inc
@@ -6,7 +6,7 @@ TAG-$(CONFIG_SEABIOS_STABLE)=rel-0.6.1.3
all: seabios
seabios: patch
- cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)"
+ cd seabios; $(MAKE)
patch: checkout
test -r seabios/.patched || \
@@ -23,7 +23,7 @@ checkout:
cd seabios; git checkout -m $(TAG-y)
clean:
- test -d seabios && (cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)" clean) || exit 0
+ test -d seabios && (cd seabios; $(MAKE) clean) || exit 0
distclean:
rm -rf seabios
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 6cd475f0f2..c9a62c926e 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -286,7 +286,8 @@ endif
seabios:
$(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc \
- CC="$(CC)" LD="$(LD)" \
+ CC="$(CC)" LD="$(LD)" OBJDUMP="$(OBJDUMP)" \
+ OBJCOPY="$(OBJCOPY)" STRIP="$(STRIP)" \
CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE)