From d003dd6321cd746c18a5e3134ae4b71d1ad65966 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Fri, 7 Jun 2024 16:52:12 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8Dota=E8=84=9A=E6=9C=AC=E5=BC=95?= =?utf8?q?=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../build/config/target_config/brandy/build_brandy_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/build/config/target_config/brandy/build_brandy_update.py b/code/sdk/build/config/target_config/brandy/build_brandy_update.py index 6d95cb672..5be4ecff0 100755 --- a/code/sdk/build/config/target_config/brandy/build_brandy_update.py +++ b/code/sdk/build/config/target_config/brandy/build_brandy_update.py @@ -108,7 +108,7 @@ class upg_base_info: def get_new_image(info): # 要升级的image列表,需根据升级的实际情况进行增删 image_list = [] - if os.path.exists(os.path.join(self.output,"ota_all")) : + if os.path.exists(os.path.join(info.output,"ota_all")) : image_list.append("=".join([info.ssb_bin, "ssb"])) image_list.append("=".join([info.recovery_bin, "recovery"])) image_list.append("=".join([info.app_bin, "application"])) @@ -151,7 +151,7 @@ def get_new_image(info): def get_old_image(info): # 要进行差分升级的image的旧版本镜像列表 image_list = [] - if os.path.exists(os.path.join(self.output,"ota_all")) : + if os.path.exists(os.path.join(info.output,"ota_all")) : image_list.append("=".join([info.app_old_bin, "application"])) image_list.append("=".join([info.bt_old_bin, "bt"])) image_list.append("=".join([info.dsp_main_old_bin, "dsp_main"])) -- 2.17.1