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

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