12fe4e5f8Sopenharmony_ci# Copyright (C) 2022 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved.
22fe4e5f8Sopenharmony_ci
32fe4e5f8Sopenharmony_ciimport("//build/ohos.gni")
42fe4e5f8Sopenharmony_ci
52fe4e5f8Sopenharmony_cigroup("boot_prebuilts") {
62fe4e5f8Sopenharmony_ci  deps = [
72fe4e5f8Sopenharmony_ci    ":atf.bin",
82fe4e5f8Sopenharmony_ci    ":bootargs.bin",
92fe4e5f8Sopenharmony_ci    ":dtbo.img",
102fe4e5f8Sopenharmony_ci    ":fastboot.bin",
112fe4e5f8Sopenharmony_ci    ":logo.img",
122fe4e5f8Sopenharmony_ci    ":panel.img",
132fe4e5f8Sopenharmony_ci    ":slaveboot.bin",
142fe4e5f8Sopenharmony_ci  ]
152fe4e5f8Sopenharmony_ci}
162fe4e5f8Sopenharmony_ci
172fe4e5f8Sopenharmony_ciohos_copy("atf.bin") {
182fe4e5f8Sopenharmony_ci  sources = [ "atf.bin" ]
192fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/atf.bin" ]
202fe4e5f8Sopenharmony_ci}
212fe4e5f8Sopenharmony_ci
222fe4e5f8Sopenharmony_ciohos_copy("bootargs.bin") {
232fe4e5f8Sopenharmony_ci  sources = [ "bootargs.bin" ]
242fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/bootargs.bin" ]
252fe4e5f8Sopenharmony_ci}
262fe4e5f8Sopenharmony_ci
272fe4e5f8Sopenharmony_ciohos_copy("dtbo.img") {
282fe4e5f8Sopenharmony_ci  sources = [ "dtbo.img" ]
292fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/dtbo.img" ]
302fe4e5f8Sopenharmony_ci}
312fe4e5f8Sopenharmony_ci
322fe4e5f8Sopenharmony_ciohos_copy("fastboot.bin") {
332fe4e5f8Sopenharmony_ci  sources = [ "fastboot.bin" ]
342fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/fastboot.bin" ]
352fe4e5f8Sopenharmony_ci}
362fe4e5f8Sopenharmony_ci
372fe4e5f8Sopenharmony_ciohos_copy("logo.img") {
382fe4e5f8Sopenharmony_ci  sources = [ "logo.img" ]
392fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/logo.img" ]
402fe4e5f8Sopenharmony_ci}
412fe4e5f8Sopenharmony_ci
422fe4e5f8Sopenharmony_ciohos_copy("panel.img") {
432fe4e5f8Sopenharmony_ci  sources = [ "panel.img" ]
442fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/panel.img" ]
452fe4e5f8Sopenharmony_ci}
462fe4e5f8Sopenharmony_ci
472fe4e5f8Sopenharmony_ciohos_copy("slaveboot.bin") {
482fe4e5f8Sopenharmony_ci  sources = [ "slaveboot.bin" ]
492fe4e5f8Sopenharmony_ci  outputs = [ "$root_build_dir/packages/phone/images/slaveboot.bin" ]
502fe4e5f8Sopenharmony_ci}
51