• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2020 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13import("//base/startup/init/services/etc/param/param_fixer.gni")
14import("//build/ohos.gni")
15
16ohos_prebuilt_etc("qemu.arm.linux.init.cfg") {
17  source = "init.qemu.arm.linux.cfg"
18  if (!enable_ramdisk) {
19    install_images = [ "system" ]
20  } else {
21    install_images = [ chipset_base_dir ]
22  }
23  part_name = "qemu_arm_linux_chipset"
24}
25
26ohos_prebuilt_etc("qemu.arm.linux.usb.cfg") {
27  source = "init.qemu.arm.linux.usb.cfg"
28  if (!enable_ramdisk) {
29    install_images = [ "system" ]
30  } else {
31    install_images = [ chipset_base_dir ]
32  }
33  part_name = "qemu_arm_linux_chipset"
34}
35
36ohos_prebuilt_etc("qemu.arm.linux.updater.cfg") {
37  source = "qemu.arm.linux.updater.cfg"
38  install_images = [ "updater" ]
39  part_name = "qemu_arm_linux_chipset"
40}
41
42ohos_prebuilt_para("default_param") {
43  source = "default.para"
44  install_images = [ chipset_base_dir ]
45  module_install_dir = "etc/param"
46  part_name = "qemu_arm_linux_chipset"
47}
48
49group("rootfs_files") {
50  deps = [
51    ":default_param",
52    ":qemu.arm.linux.init.cfg",
53    ":qemu.arm.linux.updater.cfg",
54    ":qemu.arm.linux.usb.cfg",
55  ]
56}
57