[PATCH v1] roms: use PYTHON to invoke python

Olaf Hering posted 1 patch 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231002101844.13799-1-olaf@aepfle.de
roms/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v1] roms: use PYTHON to invoke python
Posted by Olaf Hering 7 months ago
python3 may not be the expected python version.
Use PYTHON to invoke python.

Fixes: 22e11539e1 ("edk2: replace build scripts")

Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 roms/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roms/Makefile b/roms/Makefile
index 6859685290..67f709ba2d 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -147,7 +147,7 @@ skiboot:
 	cp skiboot/skiboot.lid ../pc-bios/skiboot.lid
 
 efi:
-	python3 edk2-build.py --config edk2-build.config \
+	$(PYTHON) edk2-build.py --config edk2-build.config \
 		--version-override "edk2-stable202302-for-qemu" \
 		--release-date "03/01/2023"
 	rm -f ../pc-bios/edk2-*.fd.bz2

base-commit: 36e9aab3c569d4c9ad780473596e18479838d1aa
Re: [PATCH v1] roms: use PYTHON to invoke python
Posted by Michael Tokarev 7 months ago
02.10.2023 13:18, Olaf Hering:
> python3 may not be the expected python version.
> Use PYTHON to invoke python.

Applied to my trivial-patches tree, thanks!

/mjt

> Fixes: 22e11539e1 ("edk2: replace build scripts")
> 
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> 
> diff --git a/roms/Makefile b/roms/Makefile
>   
>   efi:
> -	python3 edk2-build.py --config edk2-build.config \
> +	$(PYTHON) edk2-build.py --config edk2-build.config \
>   		--version-override "edk2-stable202302-for-qemu" \
>   		--release-date "03/01/2023"