harmony 鸿蒙Building Source Code Using the build.sh Script

  • 2022-12-05
  • 浏览 (551)

Building Source Code Using the build.sh Script

  1. Go to the root directory of the source code and run the build command.
   ./build.sh --product-name name --ccache

icon-note.gif NOTE

In the preceding command, name indicates the product name, for example, Hi3516DV300 and rk3568.

  1. Check the build result. If the build is successful, the following information is displayed in the log:
   post_process
   =====build name successful.

Files generated during the build are stored in the out/{device_name}/ directory, and the generated image is stored in the out/{device_name}/packages/phone/images/ directory. > icon-note.gif NOTE > > For details about other modular compilation operations, see Compilation and Building Guide.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Getting Started

harmony 鸿蒙Build Form Factors

harmony 鸿蒙Getting Started with the Standard System with Hi3516 (IDE Mode)

harmony 鸿蒙Getting Started with the Standard System with Hi3516 (CLI Mode)

harmony 鸿蒙Hi3516 Development Board

harmony 鸿蒙Hi3861 Development Board

harmony 鸿蒙RK3568 Development Board

harmony 鸿蒙Building Source Code

harmony 鸿蒙Burning an Image

harmony 鸿蒙Writing a Hello World Program

0  赞