diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-04-27 18:09:22 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-28 10:20:05 +0200 |
commit | ba80887cfdbca8e804a4191997a9beaa5ce44f6f (patch) | |
tree | 3ce88dc9c80a8bbc2db12056b788921a4ca33955 /Makefile.inc | |
parent | 8b17404178c3c818ce2f5e0cd8f8506d8635391c (diff) | |
download | coreboot-ba80887cfdbca8e804a4191997a9beaa5ce44f6f.tar.xz |
vboot2: Build verstage archive, then use that for building the stage
This slightly streamlines integrating the vboot2 library and
prepares for merging verstage and bootblock on selected devices.
Change-Id: I2163d1411d0c0c6bf80bce64796e1b6a5a02b802
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10004
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc index 94513d2bd1..d0a292c187 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -360,6 +360,10 @@ $(obj)/%.bootblock.o $(abspath $(obj))/%.bootblock.o: $(obj)/%.c $(obj)/config.h @printf " CC $(subst $(obj)/,,$(@))\n" $(CC_bootblock) -MMD $(CFLAGS_bootblock) $(CPPFLAGS_bootblock) $(bootblock-c-ccopts) -c -o $@ $< +$(objgenerated)/libverstage.a: $$(verstage-objs) + rm -f $@ + ar rcsT $@ $^ + ####################################################################### # Clean up rules clean-abuild: |