Lines Matching full:path

29 sys.path.insert(0,os.path.join(os.getcwd(), 'build'))
51 if not os.path.exists(os.path.dirname(env_cfg.log_path)) or not os.path.exists(env_cfg.log_path):
53 log_file = os.path.join(env_cfg.log_path,'scons_trace.log')
60 env = Environment(ENV={'PATH':os.environ['PATH']},
68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env_cfg':env_cfg, 'module':module},
69 variant_dir=os.path.join(env_cfg.lib_path, env_cfg.get_module_dir(module)), duplicate=0) for module in env_cfg.get_build_modules()]
76 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'factory'))
78 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'no_mesh_quick_start'))
80 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'mesh'))
82 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'no_mesh'))
85 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'release', 'factory'))
87 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'release', 'no_mesh_quick_start'))
89 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'release', 'mesh'))
91 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'release', 'no_mesh'))
95 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'debug', 'factory'))
97 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'debug', 'no_mesh_pkt_48k'))
99 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'debug', 'mesh'))
101 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'debug', 'no_mesh'))
104 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'release', 'factory'))
106 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'release', 'no_mesh_pkt_48k'))
108 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'release', 'mesh'))
110 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861l', 'release', 'no_mesh'))
192 if os.path.exists(env_cfg.nv_path) is False:
207 factory_nv = os.path.join(env_cfg.nv_path, env_cfg.nv_factory_name)
208 normal_nv = os.path.join(env_cfg.nv_path, env_cfg.nv_normal_name)
210 flash_boot_bin = env.SConscript(os.path.join('boot', 'flashboot', 'SConscript'), {'env':env, 'env_cfg':env_cfg, 'module':'boot'}, duplicate=0)
212 loader_boot_bin = env.SConscript(os.path.join('boot', 'loaderboot', 'SConscript'), {'env':env, 'env_cfg':env_cfg, 'module':'loaderboot'}, duplicate=0)
291 factory_bin_path = os.path.join('build', 'libs', 'factory_bin')
292 if not os.path.exists(factory_bin_path):
306 boot_b = os.path.join('output', 'bin', '%s_boot_signed_B.bin'%(env.get('CHIP_TYPE')))
307 boot_b_size = os.path.getsize(boot_b)
308 factory_bin_path = os.path.join('build', 'libs', 'factory_bin')
309 factory_bin = os.path.join(factory_bin_path, '%s_factory.bin'%env_cfg.target_name)
310 burn_for_erase_bin = os.path.join('build', 'basebin', 'burn_for_erase_4k.bin')
312 tee_cert1_file = os.path.join('build', 'basebin', 'tee_cert1.bin');
313 tee_cert2_file = os.path.join('build', 'basebin', 'tee_cert2.bin');
314 tee_key_file = os.path.join('build', 'basebin', 'tee_key.bin');
318 if ((os.path.exists(tee_cert1_file)) and (os.path.exists(tee_cert2_file)) and (os.path.exists(tee_key_file))):
328 version_file = os.path.join("output", "bin", '%s_vercfg.bin'%env_cfg.target_name)
339 if os.path.exists(factory_bin):
341 shutil.copytree(factory_bin_path, os.path.join(env_cfg.bin_path, 'factory_bin'))
352 tee_cert1_size = os.path.getsize(tee_cert1_file)
353 tee_cert2_size = os.path.getsize(tee_cert2_file)
354 tee_key_size = os.path.getsize(tee_key_file)
382 cert_bin_file = os.path.join("output", "bin", '%s_tee_cert_key.bin'%env_cfg.target_name)
391 if os.path.exists(factory_bin_path):
457 imgs = [build_env.BootOta(target=os.path.join(env_cfg.bin_path, '%s_flash_boot_ota.bin'%env_cfg.target_name), source=flash_boot_bin)]
466 ota_file = os.path.join(env_cfg.bin_path, '%s%s.bin'%(env_cfg.target_name, name_suffix))
469 ota_file = os.path.join(env_cfg.cache_path, '%s_ota_%s.bin'%(env_cfg.target_name, 'temp')) #tmp file
471 ota_file = os.path.join(env_cfg.bin_path, '%s_ota%s.bin'%(env_cfg.target_name, name_suffix))
473 sign_build['LINKFILE'] = os.path.join(env_cfg.link_path, 'link%s.lds'%name_suffix)
477 link_risc = sign_build.LinkFile(source=os.path.join('build', 'link', 'link'),
481 target_out = sign_build.Elf(source = libs, target = os.path.join(env_cfg.bin_path, '%s%s.out'%(env_cfg.target_name, name_suffix)))
483 target_out_bin = sign_build.Binary(source = target_out, target = os.path.join(env_cfg.cache_path, '%s%s'%(env_cfg.target_name, name_suffix)))
484 target_asm = sign_build.Asm(source = target_out, target=os.path.join(env_cfg.bin_path, '%s%s.asm'%(env_cfg.target_name, name_suffix)))
486 base_bin_target = os.path.join(env_cfg.cache_path, '%s_base%s.bin'%(env_cfg.target_name, name_suffix))
487 kernel_bin_target = os.path.join(env_cfg.cache_path, '%s_kernel%s.bin'%(env_cfg.target_name, name_suffix))
498 loader_bin = os.path.join('#', env_cfg.bin_path, '%s_loader_signed.bin'%(env.get('CHIP_TYPE')))
499 efuse_bin = os.path.join('build', 'basebin', 'efuse_cfg.bin')
500 burn_bin = os.path.join(env_cfg.bin_path, '%s_burn.bin'%env_cfg.target_name)
501 allinone_bin = os.path.join(env_cfg.bin_path, 'OHOS_Image.bin')
502 burn_bins = sign_build.BurnImg(source=[ota_bin, loader_bin, efuse_bin] if os.path.exists(efuse_bin) else [ota_bin, loader_bin],
509 compress_ota_bin = os.path.join(env_cfg.bin_path, '%s_ota.bin'%env_cfg.target_name)
518 link_sys = link_env.LinkFile(source=os.path.join('build', 'link', 'system_config'),
519 target=os.path.join(env_cfg.link_path, 'system_config.ld'))