From 8adab8471d514414df13372a875c18f1f1284073 Mon Sep 17 00:00:00 2001 From: Jerome Forissier <jerome@forissier.org> Date: Tue, 2 Jun 2020 15:49:00 +0200 Subject: [PATCH] hikey: do not call hisi-idt.py with hardcoded python command Let hisi-idt.py decide which python interpreter is used based on the hashbang line. Calling "python" can cause compatibility problems when "python" is Python 2 but the script needs Python3. Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> --- hikey.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hikey.mk b/hikey.mk index 4919642..a3f66e3 100644 --- a/hikey.mk +++ b/hikey.mk @@ -347,7 +347,7 @@ recovery: @echo $(call flash_help) @echo - python $(ROOT)/burn-boot/hisi-idt.py --img1=$(LLOADER_PATH)/recovery.bin + $(ROOT)/burn-boot/hisi-idt.py --img1=$(LLOADER_PATH)/recovery.bin fastboot flash loader $(LLOADER_PATH)/l-loader.bin @echo @echo "3. Wait until you see the (UART) message" -- GitLab