tegra132: Postprocess bootblock properly
It's not very useful to try to link a host tool into the bootblock image. Change-Id: Id3b6496c061d41184fbb516d56746855b455b0c3 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/8473 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
cd58bb3c38
commit
d6e40a5942
|
@ -26,13 +26,13 @@ CPPFLAGS_common += -Isrc/soc/nvidia/tegra132/include/
|
|||
$(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf
|
||||
cp $< $@
|
||||
|
||||
$(obj)/generated/bct.bin: $(obj)/generated/bct.cfg
|
||||
$(obj)/generated/bct.bin: $(obj)/generated/bct.cfg $(CBOOTIMAGE)
|
||||
@printf " CBOOTIMAGE $(subst $(obj)/,,$(@))\n"
|
||||
$(CBOOTIMAGE) -gbct --soc tegra132 $< $@
|
||||
|
||||
BCT_BIN = $(obj)/generated/bct.bin
|
||||
BCT_WRAPPER = $(obj)/generated/bct.wrapper
|
||||
$(objcbfs)/bootblock.bin: $(CBOOTIMAGE) $(objcbfs)/bootblock.raw.bin $(BCT_BIN)
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin $(BCT_BIN) $(CBOOTIMAGE)
|
||||
echo "Version = 1;" > $(BCT_WRAPPER)
|
||||
echo "Redundancy = 1;" >> $(BCT_WRAPPER)
|
||||
echo "Bctfile = $(BCT_BIN);" >> $(BCT_WRAPPER)
|
||||
|
|
Loading…
Reference in New Issue