diff mbox series

[v1] roms: use PYTHON to invoke python

Message ID 20231002101844.13799-1-olaf@aepfle.de
State New
Headers show
Series [v1] roms: use PYTHON to invoke python | expand

Commit Message

Olaf Hering Oct. 2, 2023, 10:18 a.m. UTC
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(-)


base-commit: 36e9aab3c569d4c9ad780473596e18479838d1aa

Comments

Michael Tokarev Oct. 2, 2023, 12:10 p.m. UTC | #1
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"
diff mbox series

Patch

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