Skip to content

构建 Build

superturtlee edited this page Mar 28, 2026 · 1 revision

机型限定与通用版本构建指南 / Build Guide: Device-Specific and Generic Versions


机型限定版本构建 / Device-Specific Build

  1. 将对应的 abl.img 文件放入项目目录下的 ./images 文件夹中。

  2. 执行以下命令进行编译:

    make build

通用版本构建 / Generic Build

执行以下命令,构建不依赖特定机型的通用版本:

make build_generic

备注:

  • 机型限定版本需准备对应设备的 abl.img,以保证兼容性。
  • 通用版本适用于多个设备,但可能存在兼容性和性能差异。

Build Guide: Device-Specific and Generic Versions


Device-Specific Build

  1. Place the appropriate abl.img file into the ./images directory of the project.

  2. Run the build command:

    make build

Generic Build

Build a generic version that is not tied to a specific device:

make build_generic

Note:

  • The device-specific build requires the corresponding abl.img to ensure compatibility.
  • The generic build works for multiple devices but may have compatibility or performance trade-offs.

Clone this wiki locally