You can build source code with hb or the build.sh script. This topic describes how to build source code with hb. For details about how to use the build.sh script, see Building Source Code Using the build.sh Script.
For details about the functions of the OpenHarmony compilation and building module, see Compilation and Building Guide.
The required libraries and tools have been installed.
The compilation tools have been installed.
The Hello World program is ready for use.
The access to the Ubuntu environment is normal.
Go to the root directory of the source code and run the build command.
Set the build path.
hb set
Select the current path.
.
Select ipcamera_hispark_taurus under hisilicon and press Enter.
NOTE
When adapting the development board to a specific use case, select an appropriate build form factor, that is, product settings. For details, see Build Form Factors.
Figure 1 Hi3516 build settings
Start building.
NOTE
To build a component (for example, hello), run the hb build -T targetName command.
To build a product incrementally, run the hb build command.
To build a product from the scratch, run the hb build -f command.
This example builds a product from the scratch.
hb build -f
Check the build result. If "build success" is displayed, the building is successful.
NOTICE
Paths to burning-related files:
Build result and log files: out/hispark_taurus/ipcamera_hispark_taurus
U-Boot file: device/board/hisilicon/hispark_taurus/uboot/out/boot/u-boot-hi3516dv300.bin
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。