From 342cf7f6a4f63862a7b043b6c56fd3f5f3d7e500 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Mon, 7 Mar 2016 22:04:01 -0700 Subject: payloads/external/Makefile.inc: Don't rebuild SeaBIOS every time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, if SeaBIOS is set as the payload, it gets rebuilt every single time we do a build. Change it to re-build just when there’s a config change. Change-Id: Ib141f2cbf8796d449172432bb30fa4806cf90328 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/13948 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/external/Makefile.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'payloads/external/Makefile.inc') diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc index 557de2ad83..bbad643868 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.inc @@ -35,10 +35,11 @@ payload_revision-file := $(PAYLOAD_VERSION) payload_revision-type := raw SEABIOS_CC_OFFSET=$(if $(filter %ccache,$(HOSTCC)),2,1) -seabios: +payloads/external/SeaBIOS/seabios/out/bios.bin.elf seabios: $(top)/$(DOTCONFIG) $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc \ HOSTCC="$(HOSTCC)" \ - CC=$(word $(SEABIOS_CC_OFFSET),$(CC_x86_32)) CFLAGS="$(patsubst $(word $(SEABIOS_CC_OFFSET),$(CC_x86_32))%,,$(wordlist $(SEABIOS_CC_OFFSET),9999,$(CC_x86_32)))" \ + CC=$(word $(SEABIOS_CC_OFFSET),$(CC_x86_32)) \ + CFLAGS="$(patsubst $(word $(SEABIOS_CC_OFFSET),$(CC_x86_32))%,,$(wordlist $(SEABIOS_CC_OFFSET),9999,$(CC_x86_32)))" \ LD=$(word 1,$(LD_x86_32)) LDFLAGS="$(patsubst $(word 1,$(LD_x86_32))%,,$(LD_x86_32))" \ OBJDUMP="$(OBJDUMP_x86_32)" \ OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \ @@ -53,9 +54,8 @@ seabios: CONFIG_TTYS0_BASE=$(CONFIG_TTYS0_BASE) payloads/external/SeaBIOS/seabios/out/vgabios.bin: seabios -payloads/external/SeaBIOS/seabios/out/bios.bin.elf: seabios -payloads/external/SeaBIOS/seabios/.config: seabios -payloads/external/SeaBIOS/seabios/out/autoversion.h: seabios +payloads/external/SeaBIOS/seabios/.config: payloads/external/SeaBIOS/seabios/out/bios.bin.elf +payloads/external/SeaBIOS/seabios/out/autoversion.h: payloads/external/SeaBIOS/seabios/out/bios.bin.elf filo: $(MAKE) -C payloads/external/FILO -f Makefile.inc \ -- cgit v1.2.3