[coreboot-gerrit] Patch set updated for coreboot: bdf1494 arch/x86: No need to specify -Wa, --divide in a Makefile

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Jun 4 14:25:20 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10426

-gerrit

commit bdf14947db608c247115edaf0f818298955e0505
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Thu Jun 4 13:14:54 2015 +0200

    arch/x86: No need to specify -Wa,--divide in a Makefile
    
    We test for it in xcompile and add it to CFLAGS.
    
    Change-Id: I041a881b542bc55c1725af384f038da3356e3bb1
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 src/arch/x86/Makefile.inc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 5da5a4a..9f4589b 100644
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -27,8 +27,6 @@ subdirs-y += boot
 subdirs-y += lib
 subdirs-y += smp
 
-DISASSEMBLY=-Wa,--divide
-
 ################################################################################
 # i386 specific tools
 NVRAMTOOL:=$(objutil)/nvramtool/nvramtool
@@ -114,7 +112,7 @@ $(objgenerated)/bootblock_inc.S: $$(bootblock_inc)
 
 $(objgenerated)/bootblock.o: $(objgenerated)/bootblock.s
 	@printf "    CC         $(subst $(obj)/,,$(@))\n"
-	$(CC_bootblock) $(CFLAGS_x86_32) $(DISASSEMBLY) -c -o $@ $<  > $(basename $@).disasm
+	$(CC_bootblock) $(CFLAGS_x86_32) -c -o $@ $<  > $(basename $@).disasm
 
 $(objgenerated)/bootblock.s: $(objgenerated)/bootblock_inc.S $(obj)/config.h $(obj)/build.h
 	@printf "    CC         $(subst $(obj)/,,$(@))\n"



More information about the coreboot-gerrit mailing list