diff options
author | Patrick Georgi <pgeorgi@google.com> | 2015-02-17 11:11:12 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-02-17 18:11:01 +0100 |
commit | d6e40a5942ddd3d04b79a6ecf7b56f4860e41a03 (patch) | |
tree | 0c00afb288f3cafc7298429237802c4c57e899bf | |
parent | cd58bb3c386b6c481f310d4d349dfd4573cf93f4 (diff) |
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>
-rw-r--r-- | src/soc/nvidia/tegra132/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/nvidia/tegra132/Makefile.inc b/src/soc/nvidia/tegra132/Makefile.inc index f39dcb1e5d..b03833920a 100644 --- a/src/soc/nvidia/tegra132/Makefile.inc +++ b/src/soc/nvidia/tegra132/Makefile.inc @@ -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) |