From e3509fdb681a65fb945dca28b5193733a1b84b22 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 29 Jan 2011 05:51:54 +0000 Subject: Pass all required toolchain parts to SeaBIOS correctly Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6317 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/external/SeaBIOS/Makefile.inc | 4 ++-- src/arch/x86/Makefile.inc | 3 ++- 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) -- cgit v1.2.3