0018-Remove-warning-for-coreboot-images-built-without-a-p.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From c25dcd8ac80598939edffd011df0fd9ba3d8a1a8 Mon Sep 17 00:00:00 2001
  2. From: Nicholas Chin <nic.c3.14@gmail.com>
  3. Date: Fri, 12 May 2023 19:55:15 -0600
  4. Subject: [PATCH 18/20] Remove warning for coreboot images built without a
  5. payload
  6. I added this in upstream to prevent people from accidentally flashing
  7. roms without a payload resulting in a no boot situation, but in
  8. libreboot lbmk handles the payload and thus this warning always comes
  9. up. This has caused confusion and concern so just patch it out.
  10. ---
  11. payloads/Makefile.mk | 13 +------------
  12. 1 file changed, 1 insertion(+), 12 deletions(-)
  13. diff --git a/payloads/Makefile.mk b/payloads/Makefile.mk
  14. index a2336aa876..4f1692a873 100644
  15. --- a/payloads/Makefile.mk
  16. +++ b/payloads/Makefile.mk
  17. @@ -49,16 +49,5 @@ distclean-payloads:
  18. print-repo-info-payloads:
  19. -$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) print-repo-info 2>/dev/null; )
  20. -ifeq ($(CONFIG_PAYLOAD_NONE),y)
  21. -show_notices:: warn_no_payload
  22. -endif
  23. -
  24. -warn_no_payload:
  25. - printf "\n\t** WARNING **\n"
  26. - printf "coreboot has been built without a payload. Writing\n"
  27. - printf "a coreboot image without a payload to your board's\n"
  28. - printf "flash chip will result in a non-booting system. You\n"
  29. - printf "can use cbfstool to add a payload to the image.\n\n"
  30. -
  31. .PHONY: force-payload coreinfo nvramcui
  32. -.PHONY: clean-payloads distclean-payloads print-repo-info-payloads warn_no_payload
  33. +.PHONY: clean-payloads distclean-payloads print-repo-info-payloads
  34. --
  35. 2.39.2