From: Bruce Rogers Date: Thu, 27 Jun 2019 16:15:24 +0000 (-0600) Subject: seabios: use python2 explicitly as needed X-Git-Tag: upstream/4.2.1~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4e028083a3a3c411e57ba8d9b7fc49fb2e54b82;p=tools%2Fqemu-arm-static.git seabios: use python2 explicitly as needed Switch to python2 the places where "python" is explicitly referenced. (Ignore the uses of #!/usr/bin/env python, since that usage does the right thing in our build environment). Signed-off-by: Bruce Rogers --- diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile index 5f7d53701..de1fa9003 100644 --- a/roms/seabios/Makefile +++ b/roms/seabios/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 diff --git a/roms/seabios/scripts/acpi_extract.py b/roms/seabios/scripts/acpi_extract.py index 3ed863b6a..86c6226c0 100755 --- a/roms/seabios/scripts/acpi_extract.py +++ b/roms/seabios/scripts/acpi_extract.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin # # This file may be distributed under the terms of the GNU GPLv3 license. diff --git a/roms/seabios/scripts/acpi_extract_preprocess.py b/roms/seabios/scripts/acpi_extract_preprocess.py index 269811840..b8e92a525 100755 --- a/roms/seabios/scripts/acpi_extract_preprocess.py +++ b/roms/seabios/scripts/acpi_extract_preprocess.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin # # This file may be distributed under the terms of the GNU GPLv3 license.