未验证 提交 73285e69 编写于 作者: O openharmony_ci 提交者: Gitee

!351 set default value for target_cpu

Merge pull request !351 from weichaox/master
...@@ -239,8 +239,9 @@ class MyProduct(): ...@@ -239,8 +239,9 @@ class MyProduct():
device_info['target_cpu'] = config['target_cpu'] device_info['target_cpu'] = config['target_cpu']
else: else:
# Target cpu is used to set default toolchain for standard system. # Target cpu is used to set default toolchain for standard system.
print("The target_cpu needs to be specified.") print(
device_info['target_cpu'] = 'unknown' "The target_cpu needs to be specified, default target_cpu=arm")
device_info['target_cpu'] = 'arm'
if config.get('kernel_version'): if config.get('kernel_version'):
device_info['kernel_version'] = config.get('kernel_version') device_info['kernel_version'] = config.get('kernel_version')
if config.get('device_build_path'): if config.get('device_build_path'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册