Home
last modified time | relevance | path

Searched full:env (Results 1 – 25 of 259) sorted by relevance

1234567891011

/device/soc/hisilicon/ws63v100/sdk/build/script/
Dcmake_builder.py1 #!/usr/bin/env python3
42 def get_component(self, env): argument
43 com_config = CommonConfig(env.get('arch'))
45 if env.get('just_build_components', False):
46 just_build_components = env.get('just_build_components', False)
50 if component in env.get('ram_component', False):
53 if component not in env.get('ram_component_set', False):
56 if comm in env.get('ram_component', False):
60 def get_build_cmd(self, env): argument
62 components = self.get_component(env)
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dsconscript17 Import('env')
25 if env['platform_config']=='devicetree' or env['platform_config']=='juno_soc':
38 if env['platform_config']=='juno_soc':
41 kbase_src += [Glob('platform/%s/*.c' % env['platform_config'])]
43 if Glob('#kernel/drivers/gpu/arm/midgard/tests/internal/src/mock') and env['unit'] == '1':
50 if env.KernelConfigEnabled("CONFIG_MACH_REALVIEW_PBX") and \
51 env["platform_config"] in {"vexpress", "vexpress_6xvirtex7_10mhz"}:
54 if Glob('#kernel/drivers/gpu/arm/midgard/config/tpip/*%s.c' % (env['platform_config'])):
55 kbase_src += Glob('#kernel/drivers/gpu/arm/midgard/config/tpip/*%s.c' % (env['platform_config']))
57 kbase_src += Glob('#kernel/drivers/gpu/arm/midgard/config/*%s.c' % (env['platform_config']))
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dsconscript17 Import('env')
25 if env['platform_config']=='devicetree' or env['platform_config']=='juno_soc':
38 if env['platform_config']=='juno_soc':
41 kbase_src += [Glob('platform/%s/*.c' % env['platform_config'])]
43 if Glob('#kernel/drivers/gpu/arm/midgard/tests/internal/src/mock') and env['unit'] == '1':
50 if env.KernelConfigEnabled("CONFIG_MACH_REALVIEW_PBX") and \
51 env["platform_config"] in {"vexpress", "vexpress_6xvirtex7_10mhz"}:
54 if Glob('#kernel/drivers/gpu/arm/midgard/config/tpip/*%s.c' % (env['platform_config'])):
55 kbase_src += Glob('#kernel/drivers/gpu/arm/midgard/config/tpip/*%s.c' % (env['platform_config']))
57 kbase_src += Glob('#kernel/drivers/gpu/arm/midgard/config/*%s.c' % (env['platform_config']))
[all …]
/device/soc/rockchip/common/sdk_linux/kernel/bpf/
Dverifier.c257 static const struct bpf_line_info *find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() argument
263 prog = env->prog; in find_linfo()
320 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, const char *fmt, ...) in bpf_verifier_log_write() argument
324 if (!bpf_verifier_log_needed(&env->log)) { in bpf_verifier_log_write()
329 bpf_verifier_vlog(&env->log, fmt, args); in bpf_verifier_log_write()
336 struct bpf_verifier_env *env = private_data; in verbose() local
339 if (!bpf_verifier_log_needed(&env->log)) { in verbose()
344 bpf_verifier_vlog(&env->log, fmt, args); in verbose()
370 __printf(3, 4) static void verbose_linfo(struct bpf_verifier_env *env, u32 insn_off, const char *pr… in verbose_linfo() argument
374 if (!bpf_verifier_log_needed(&env->log)) { in verbose_linfo()
[all …]
/device/soc/hisilicon/ws63v100/sdk/build/config/target_config/ws63/script/
Dentry.py1 #!/usr/bin/env python3
32 def do_cmd(target_name: str, hook_name: str, env: Dict[str, Any])->bool:
48 if env.get('gen_mem_bin'):
51 …errcode = exec_shell(['bash', script_path, root_path, target_name, env.get('bin_name')], None, Tru…
57 if env.get('generate_efuse_bin'):
67 if env.get('copy_files_to_interim'):
77 if env.get('pke_rom_bin'):
90 if env.get('fixed_pke'):
91 …bin1 = os.path.join(root_path, "output", env.get('chip'), env.get('core'), 'pke_rom', 'pke_rom.bin…
92 bin2 = env.get('fixed_pke_path', '').replace('<root>', root_path)
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/boot/loaderboot/
DSConscript1 #!/usr/bin/env python3
11 Import('env')
54 env['LIBS'] = list(map(lambda x:'-l%s'%x, env_cfg.get_boot_libs()))
55 env['LIBPATH'] = env_cfg.get_bootlib_path()
56 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'boot_libs'))
57 env = env.Clone() variable
87 env.Replace(CPPDEFINES=defines)
88 env.Replace(CCFLAGS=boot_cflags)
89 env.Replace(ASFLAGS=boot_asflags)
90 env.Replace(CPPPATH=incs)
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/
DSConscript1 #!/usr/bin/env python3
6 Import('env')
15 env = env.Clone() variable
16 env_cfg.append_environs(env, module)
17 common_env.print_log_env(env, env_cfg.get_module_dir(module))
24 …objs += env.SConscript(os.path.join(src, 'SConscript'), {'env':env}, variant_dir = os.path.join('#…
25 libs += env.Library(lib,objs)
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/
DSConscript1 #!/usr/bin/env python3
5 Import('env')
14 env = env.Clone() variable
15 env_cfg.append_environs(env, module)
16 common_env.print_log_env(env, env_cfg.get_module_dir(module))
23 …objs += env.SConscript(os.path.join(src, 'SConscript'), {'env':env}, variant_dir = os.path.join('#…
24 libs += env.Library(lib, objs)
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/
DSConscript1 #!/usr/bin/env python3
5 Import('env')
14 env = env.Clone() variable
15 env_cfg.append_environs(env, module)
16 common_env.print_log_env(env, env_cfg.get_module_dir(module))
23 …objs += env.SConscript(os.path.join(src, 'SConscript'), {'env':env}, variant_dir = os.path.join('#…
24 libs += env.Library(lib,objs)
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/histreaming/
DSConscript1 #!/usr/bin/env python3
6 Import('env')
15 env = env.Clone()
16 env_cfg.append_environs(env, module)
17 common_env.print_log_env(env, env_cfg.get_module_dir(module))
24 …objs += env.SConscript(os.path.join(src, 'SConscript'), {'env':env}, variant_dir = os.path.join('#…
25 libs += env.Library(lib,objs)
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/
DSConscript1 #!/usr/bin/env python3
6 Import('env')
15 env = env.Clone() variable
16 env_cfg.append_environs(env, module)
17 common_env.print_log_env(env, env_cfg.get_module_dir(module))
24 …objs += env.SConscript(os.path.join(src, 'SConscript'), {'env':env}, variant_dir = os.path.join('#…
25 libs += env.Library(lib,objs)
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/
DSConscript1 #!/usr/bin/env python3
11 Import('env')
54 env['LIBS'] = list(map(lambda x:'-l%s'%x, env_cfg.get_boot_libs()))
55 env['LIBPATH'] = env_cfg.get_bootlib_path()
56 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'boot_libs'))
57 env = env.Clone() variable
86 env.Replace(CPPDEFINES=defines)
87 env.Replace(CCFLAGS=boot_cflags)
88 env.Replace(ASFLAGS=boot_asflags)
89 env.Replace(CPPPATH=incs)
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/
DSConstruct1 #!/usr/bin/env python3
60 env = Environment(ENV={'PATH':os.environ['PATH']}, variable
63 env_cfg.set_tools(env)
64 env_cfg.set_environs(env)
68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env…
71 env['LIBPATH'] = env_cfg.get_lib_path()
76 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'factory'))
78env.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'))
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/
DSConstruct1 #!/usr/bin/env python3
60 env = Environment(ENV={'PATH':os.environ['PATH']}, variable
63 env_cfg.set_tools(env)
64 env_cfg.set_environs(env)
68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env…
71 env['LIBPATH'] = env_cfg.get_lib_path()
76 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'factory'))
78env.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'))
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/boot/flashboot/
DSConscript1 #!/usr/bin/env python3
11 Import('env')
54 env['LIBS'] = list(map(lambda x:'-l%s'%x, env_cfg.get_boot_libs()))
55 env['LIBPATH'] = env_cfg.get_bootlib_path()
56 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'boot_libs'))
57 env = env.Clone() variable
94 env.Replace(CPPDEFINES=defines)
95 env.Replace(CCFLAGS=boot_cflags)
96 env.Replace(ASFLAGS=boot_asflags)
97 env.Replace(CPPPATH=incs)
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/
DSConscript1 #!/usr/bin/env python3
11 Import('env')
54 env['LIBS'] = list(map(lambda x:'-l%s'%x, env_cfg.get_boot_libs()))
55 env['LIBPATH'] = env_cfg.get_bootlib_path()
56 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'boot_libs'))
57 env = env.Clone() variable
93 env.Replace(CPPDEFINES=defines)
94 env.Replace(CCFLAGS=boot_cflags)
95 env.Replace(ASFLAGS=boot_asflags)
96 env.Replace(CPPPATH=incs)
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/
Dsconscript17 Import('env')
21 if env.GetOption('clean') :
22 env.Execute(Action("make clean", '[CLEAN] mali_kutf_irq_test'))
23 cmd = env.Command('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', src, [])
24 env.KernelObjTarget('mali_kutf_irq_test', cmd)
26 …PATH/ ) || touch $STATIC_LIB_PATH/mali_kutf_irq_test.ko)" % (env.base_get_qa_settings(), env.kerne…
27 cmd = env.Command('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', src, [makeAction])
28 env.Depends('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', '$STATIC_LIB_PATH/kutf.ko')
29 env.Depends('$STATIC_LIB_PATH/mali_kutf_irq_test.ko', '$STATIC_LIB_PATH/mali_kbase.ko')
30 env.KernelObjTarget('mali_kutf_irq_test', cmd)
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/
DSConscript1 #!/usr/bin/env python3
19 Import('env')
28 env = env.Clone() variable
29 env_cfg.append_environs(env, module)
30 common_env.print_log_env(env, env_cfg.get_module_dir(module))
37 …objs += env.SConscript(os.path.join(src, 'SConscript'), {'env':env}, variant_dir = os.path.join('#…
38 libs += env.Library(lib,objs)
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
Dscons_env_cfg.py1 #!/usr/bin/env python3
89 def set_tools(self, env, tool_name='all', tool_value='default'): argument
91 if tool_name != 'all' and tool_value != 'default' and env.get(tool_name):
92 env[tool_name] = tool_value
96 env['CC'] = '%sgcc'%self.tools_prefix
97 env['AR'] = '%sar'%self.tools_prefix
98 env['AS'] = '%sas'%self.tools_prefix
99 env['CXX'] = '%scpp'%self.tools_prefix
100 env['LINK'] = '%sld'%self.tools_prefix
101 env['RANLIB'] = '%sranlib'%self.tools_prefix
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/
Dscons_env_cfg.py1 #!/usr/bin/env python3
89 def set_tools(self, env, tool_name='all', tool_value='default'): argument
91 if tool_name != 'all' and tool_value != 'default' and env.get(tool_name):
92 env[tool_name] = tool_value
96 env['CC'] = '%sgcc'%self.tools_prefix
97 env['AR'] = '%sar'%self.tools_prefix
98 env['AS'] = '%sgcc'%self.tools_prefix
99 env['CXX'] = '%scpp'%self.tools_prefix
100 env['LINK'] = '%sld'%self.tools_prefix
101 env['RANLIB'] = '%sranlib'%self.tools_prefix
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/hilink/
DSConscript1 #!/usr/bin/env python3
6 Import('env')
15 env = env.Clone() variable
16 env_cfg.append_environs(env, module)
17 common_env.print_log_env(env, env_cfg.get_module_dir(module))
24 objs += env.Object(Glob('*.c'))
26 libs += env.Library(lib, objs)
/device/soc/hisilicon/ws63v100/sdk/build/script/sdk_generator/
Dsdk_generator.py1 #!/usr/bin/env python3
62 def __init__(self, env: TargetEnvironment, sdk_root_path: str):
63 self.env = env
66 if self.env.get('replace_suffix', False):
67 replace_suffix = self.env.get('replace_suffix', False)
74 chip = self.env.get("chip", False)
139 if self.env.get('use_memuconfig') != False:
142 if self.env.get('auto_gen_config'):
143 self.genarate_sdk_target_config(self.env.get('pkg_target_name', False))
146 if self.env.get('generate_efuse_bin') == True and chip_name in ["ws63", "ws53"]:
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/startup/
DSConscript1 Import('env')
3 env = env.Clone()
5 objs = env.Object(Glob('*.c'))
6 objs += env.Object(Glob('*.S'))
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/startup/
DSConscript1 Import('env')
3 env = env.Clone()
5 objs = env.Object(Glob('*.c'))
6 objs += env.Object(Glob('*.S'))
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dfair.c1668 static void update_numa_stats(struct task_numa_env *env, struct numa_stats *ns, int nid, bool find_… in update_numa_stats() argument
1687 if (READ_ONCE(rq->numa_migrate_on) || !cpumask_test_cpu(cpu, env->p->cpus_ptr)) { in update_numa_stats()
1702 ns->node_type = numa_classify(env->imbalance_pct, ns); in update_numa_stats()
1709 static void task_numa_assign(struct task_numa_env *env, struct task_struct *p, long imp) in task_numa_assign() argument
1711 struct rq *rq = cpu_rq(env->dst_cpu); in task_numa_assign()
1714 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign()
1716 int start = env->dst_cpu; in task_numa_assign()
1719 for_each_cpu_wrap(cpu, cpumask_of_node(env->dst_nid), start) in task_numa_assign()
1721 … if (cpu == env->best_cpu || !idle_cpu(cpu) || !cpumask_test_cpu(cpu, env->p->cpus_ptr)) { in task_numa_assign()
1725 env->dst_cpu = cpu; in task_numa_assign()
[all …]

1234567891011