diff options
| author | Ting Liu <ting.liu@nxp.com> | 2020-05-07 19:50:51 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-05-08 10:11:36 -0300 |
| commit | fa5c18a91cfd0fa3478fb6ead2898ac9e1942bd9 (patch) | |
| tree | 3a0d4b66d595c0820e01108007b2de95a27c0181 /recipes-bsp/u-boot/u-boot-qoriq/0001-binman-Move-to-use-Python-3.patch | |
| parent | 6ef0f40c2542655872e76c8cdd5cbe3c37c4c8db (diff) | |
| download | meta-freescale-fa5c18a91cfd0fa3478fb6ead2898ac9e1942bd9.tar.gz | |
u-boot-qoriq: fix pylibfdt build with Python3
Backport patches to fix build failure on powerpc machines:
| /bin/sh: 1: python2: not found
| make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 127
| make[3]: *** [scripts/dtc/pylibfdt] Error 2
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-qoriq/0001-binman-Move-to-use-Python-3.patch')
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq/0001-binman-Move-to-use-Python-3.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-qoriq/0001-binman-Move-to-use-Python-3.patch b/recipes-bsp/u-boot/u-boot-qoriq/0001-binman-Move-to-use-Python-3.patch new file mode 100644 index 000000000..c1a05b327 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-qoriq/0001-binman-Move-to-use-Python-3.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 388560134b99dc4cc752627d3a7e9f8c8c2a89a7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon Glass <sjg@chromium.org> | ||
| 3 | Date: Thu, 31 Oct 2019 07:43:05 -0600 | ||
| 4 | Subject: [PATCH] binman: Move to use Python 3 | ||
| 5 | |||
| 6 | Update this tool to use Python 3 to meet the 2020 deadline. | ||
| 7 | |||
| 8 | Unfortunately this introduces a test failure due to a problem in pylibfdt | ||
| 9 | on Python 3. I will investigate. | ||
| 10 | |||
| 11 | Upstream-Status: Backport | ||
| 12 | |||
| 13 | Signed-off-by: Simon Glass <sjg@chromium.org> | ||
| 14 | --- | ||
| 15 | tools/binman/binman.py | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/tools/binman/binman.py b/tools/binman/binman.py | ||
| 19 | index 8bd5868df2..9e6fd72117 100755 | ||
| 20 | --- a/tools/binman/binman.py | ||
| 21 | +++ b/tools/binman/binman.py | ||
| 22 | @@ -1,4 +1,4 @@ | ||
| 23 | -#!/usr/bin/env python2 | ||
| 24 | +#!/usr/bin/env python3 | ||
| 25 | # SPDX-License-Identifier: GPL-2.0+ | ||
| 26 | |||
| 27 | # Copyright (c) 2016 Google, Inc | ||
| 28 | -- | ||
| 29 | 2.24.0 | ||
| 30 | |||
