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@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10426 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
527f3923b0
commit
45dd591ff6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue