diff mbox series

[Stable-8.1.2,62/64] roms: use PYTHON to invoke python

Message ID 20231015060739.129177-1-mjt@tls.msk.ru
State New
Headers show
Series Patch Round-up for stable 8.1.2, release on 2023-10-16 | expand

Commit Message

Michael Tokarev Oct. 15, 2023, 6:07 a.m. UTC
From: Olaf Hering <olaf@aepfle.de>

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>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 17b8d8ac3309e2cfed0d8cb3861afdcc23f66ce0)
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