[PATCH] Makefile: set PYTHON to python2 instead of python

Frédéric Pierret (fepitre) posted 1 patch 3 years, 11 months ago
Failed in applying to current master (apply log)
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Makefile: set PYTHON to python2 instead of python
Posted by Frédéric Pierret (fepitre) 3 years, 11 months ago
Newer distro like CentOS 8 does not include any reference
to 'python' binary but only 'python2'.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c20be15..995dc86 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld
 OBJCOPY=$(CROSS_PREFIX)objcopy
 OBJDUMP=$(CROSS_PREFIX)objdump
 STRIP=$(CROSS_PREFIX)strip
-PYTHON=python
+PYTHON=python2
 CPP=cpp
 IASL:=iasl
 LD32BIT_FLAG:=-melf_i386
-- 
2.25.4



Re: [PATCH] Makefile: set PYTHON to python2 instead of python
Posted by Frédéric Pierret 3 years, 11 months ago
I should have included [SeaBIOS]. Sorry.

On 2020-06-07 10:56, Frédéric Pierret (fepitre) wrote:
> Newer distro like CentOS 8 does not include any reference
> to 'python' binary but only 'python2'.
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index c20be15..995dc86 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld
>  OBJCOPY=$(CROSS_PREFIX)objcopy
>  OBJDUMP=$(CROSS_PREFIX)objdump
>  STRIP=$(CROSS_PREFIX)strip
> -PYTHON=python
> +PYTHON=python2
>  CPP=cpp
>  IASL:=iasl
>  LD32BIT_FLAG:=-melf_i386
>