0002-Coreboot-image-integration-removal.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. From f095d901afe02728fb0471d51e02553036cd2538 Mon Sep 17 00:00:00 2001
  2. From: Paul Kocialkowski <contact@paulk.fr>
  3. Date: Mon, 3 Aug 2015 14:49:34 +0200
  4. Subject: [PATCH 2/8] Coreboot image integration removal
  5. There is no need to integrate the built depthcharge binary inside a coreboot
  6. image right after building it, coreboot will handle this on its own.
  7. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
  8. ---
  9. src/Makefile.inc | 6 ------
  10. 1 file changed, 6 deletions(-)
  11. diff --git a/src/Makefile.inc b/src/Makefile.inc
  12. index a73785b..564dd13 100644
  13. --- a/src/Makefile.inc
  14. +++ b/src/Makefile.inc
  15. @@ -77,12 +77,6 @@ $(eval $(call declare_bin,$1,$2 $$$$(VB_LIB),$3))
  16. $1.payload: $1.elf
  17. @printf " PAYLOAD $$(subst $$(obj)/,,$$@)\n"
  18. - $$(Q)-rm -f $1.rom $1.bb
  19. - $$(Q)dd if=/dev/zero of=$1.bb bs=512 count=1
  20. - $$(Q)cbfstool $1.rom create -m $$(ARCH) -s 1024K -B $1.bb
  21. - $$(Q)cbfstool $1.rom add-payload -f $$< -n dc.elf -c lzma
  22. - $$(Q)cbfstool $1.rom extract -n dc.elf -f $$@
  23. - $$(Q)rm -f $1.rom $1.bb
  24. $(notdir $1)_unified: $1.bin $1.payload
  25. PHONY += $(notdir $1)_unified
  26. --
  27. 2.8.0