grub: build with python 3

Submitted by Ross Burton on July 11, 2019, 11:54 p.m. | Patch ID: 163005

Details

Message ID 20190711235427.23066-1-ross.burton@intel.com
State Accepted
Commit f2286cc31bd92d75c7f8662abe816867ab041d50
Headers 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(+)

Patch hide | download patch | download mbox

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() {