Skip to contentSkip to conversation

roms: use PYTHON to invoke python

PATCH Applied Olaf Hering 2 participants 2 messages Oct 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 roms: use PYTHON to invoke python

python3 may not be the expected python version.
Use PYTHON to invoke python.

Fixes 22e11539e1 ("edk2: replace build scripts")
---
 roms/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/Makefile +1 -1
index 6859685290..67f709ba2d 100644
@@ -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

#1 lore raw

02.10.2023 13:18, Olaf Hering:

Quoted 2 lines

python3 may not be the expected python version.
Use PYTHON to invoke python.

Applied to my trivial-patches tree, thanks!

/mjt

Quoted 11 lines
Fixes 22e11539e1 ("edk2: replace build scripts")
roms/Makefile +1 -1
 
  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"