Author: stepan
Date: Sat Jan 29 06:51:54 2011
New Revision: 6317
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6317

Log:
Pass all required toolchain parts to SeaBIOS correctly

Signed-off-by: Stefan Reinauer <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/payloads/external/SeaBIOS/Makefile.inc
   trunk/src/arch/x86/Makefile.inc

Modified: trunk/payloads/external/SeaBIOS/Makefile.inc
==============================================================================
--- trunk/payloads/external/SeaBIOS/Makefile.inc        Fri Jan 28 21:57:48 
2011        (r6316)
+++ trunk/payloads/external/SeaBIOS/Makefile.inc        Sat Jan 29 06:51:54 
2011        (r6317)
@@ -6,7 +6,7 @@
 all: seabios
 
 seabios: patch
-       cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)"
+       cd seabios; $(MAKE)
 
 patch: checkout
        test -r seabios/.patched || \
@@ -23,7 +23,7 @@
        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

Modified: trunk/src/arch/x86/Makefile.inc
==============================================================================
--- trunk/src/arch/x86/Makefile.inc     Fri Jan 28 21:57:48 2011        (r6316)
+++ trunk/src/arch/x86/Makefile.inc     Sat Jan 29 06:51:54 2011        (r6317)
@@ -286,7 +286,8 @@
 
 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)
 

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to