Building Source Code Using the build.sh Script
-
Go to the root directory of the source code and run the build command.
./build.sh --product-name name --ccache
NOTE
In the preceding command, name indicates the product name, for example, Hi3516DV300 and rk3568.
-
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.
NOTE
For details about other modular compilation operations, see Compilation and Building Guide.