diff options
| author | Ross Burton <ross.burton@intel.com> | 2019-07-12 00:54:27 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 09:29:59 +0100 |
| commit | e79615e786dd2e54e71ef8a6450ef785a8b471dd (patch) | |
| tree | 5b4f5878d1e9a243074fea85c01184e139f8a31e | |
| parent | 65f5857513c4d2e17b9b106b52ba7a6069b75a76 (diff) | |
| download | poky-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.inc | 2 |
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 = "" | |||
| 60 | BUILD_CXXFLAGS = "" | 60 | BUILD_CXXFLAGS = "" |
| 61 | BUILD_LDFLAGS = "" | 61 | BUILD_LDFLAGS = "" |
| 62 | 62 | ||
| 63 | export PYTHON = "python3" | ||
| 64 | |||
| 63 | CFLAGS_append = " -Wno-error" | 65 | CFLAGS_append = " -Wno-error" |
| 64 | 66 | ||
| 65 | do_configure_prepend() { | 67 | do_configure_prepend() { |
