0013-specifically-use-python3-in-scripts.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From 52acb9071bda297e9520107a0d0f996e9cba28fb Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Sun, 13 Mar 2022 18:04:55 +0000
  4. Subject: [PATCH 13/18] specifically use python3, in scripts
  5. ---
  6. src/drivers/intel/fsp2_0/Makefile.inc | 2 +-
  7. util/spdtool/spdtool.py | 2 +-
  8. 2 files changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/src/drivers/intel/fsp2_0/Makefile.inc b/src/drivers/intel/fsp2_0/Makefile.inc
  10. index f11ebee102..e4b151b524 100644
  11. --- a/src/drivers/intel/fsp2_0/Makefile.inc
  12. +++ b/src/drivers/intel/fsp2_0/Makefile.inc
  13. @@ -88,7 +88,7 @@ endif
  14. ifeq ($(CONFIG_FSP_FULL_FD),y)
  15. $(obj)/Fsp_M.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(DOTCONFIG)
  16. - python 3rdparty/fsp/Tools/SplitFspBin.py split -f $(CONFIG_FSP_FD_PATH) -o "$(obj)" -n "Fsp.fd"
  17. + python3 3rdparty/fsp/Tools/SplitFspBin.py split -f $(CONFIG_FSP_FD_PATH) -o "$(obj)" -n "Fsp.fd"
  18. $(obj)/Fsp_S.fd: $(call strip_quotes,$(CONFIG_FSP_FD_PATH)) $(obj)/Fsp_M.fd
  19. true
  20. diff --git a/util/spdtool/spdtool.py b/util/spdtool/spdtool.py
  21. index 89976eac59..2cd7027377 100644
  22. --- a/util/spdtool/spdtool.py
  23. +++ b/util/spdtool/spdtool.py
  24. @@ -1,4 +1,4 @@
  25. -#!/usr/bin/env python
  26. +#!/usr/bin/env python3
  27. # spdtool - Tool for partial deblobbing of UEFI firmware images
  28. # SPDX-License-Identifier: GPL-3.0-or-later
  29. #
  30. --
  31. 2.39.2