summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-07-12 00:54:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-15 09:29:59 +0100
commite79615e786dd2e54e71ef8a6450ef785a8b471dd (patch)
tree5b4f5878d1e9a243074fea85c01184e139f8a31e
parent65f5857513c4d2e17b9b106b52ba7a6069b75a76 (diff)
downloadopenembedded-core-contrib-e79615e786dd2e54e71ef8a6450ef785a8b471dd.tar.gz
grub: build with python 3
As part of the mission to remove the use of Python 2, explicitly use Python 3 when building grub. (From OE-Core rev: f2286cc31bd92d75c7f8662abe816867ab041d50) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/grub/grub2.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 20877e7735..c5ff10e598 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() {