grub: build with python 3

Message ID 20190711235427.23066-1-ross.burton@intel.com
State Accepted
Commit f2286cc31bd92d75c7f8662abe816867ab041d50
Headers show
Series
  • grub: build with python 3
Related show

Commit Message

Ross Burton July 11, 2019, 11:54 p.m.
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building grub.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-bsp/grub/grub2.inc | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 20877e77355..c5ff10e5986 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -60,6 +60,8 @@  BUILD_CFLAGS = ""
 BUILD_CXXFLAGS = ""
 BUILD_LDFLAGS = ""
 
+export PYTHON = "python3"
+
 CFLAGS_append = " -Wno-error"
 
 do_configure_prepend() {