[3/3] grub: use Python 3 in the build

Message ID 20170802145308.19074-3-ross.burton@intel.com
State New
Headers show
Series
  • [1/3] ca-certificates: use host Python 3 instead of Python 2
Related show

Commit Message

Burton, Ross Aug. 2, 2017, 2:53 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>

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

-- 
2.11.0

-- 
_______________________________________________
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 240a1f92864..6de7ecc2215 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -57,6 +57,8 @@  BUILD_CFLAGS = ""
 BUILD_CXXFLAGS = ""
 BUILD_LDFLAGS = ""
 
+export PYTHON = "python3"
+
 do_configure_prepend() {
 	# The grub2 configure script uses variables such as TARGET_CFLAGS etc
 	# for its own purposes. Remove the OE versions from the environment to