• 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("//build/ohos.gni")
14
15ohos_prebuilt_etc("fstab.qemu.arm.linux") {
16  source = "etc/fstab.qemu.arm.linux"
17  module_install_dir = "etc"
18  part_name = "qemu_arm_linux_chipset"
19  install_images = [ vendor_base_dir ]
20}
21
22if (enable_ramdisk) {
23  ohos_copy("ohos.its") {
24    sources = [ "ohos.its" ]
25    outputs = [ "$root_build_dir/ohos.its" ]
26  }
27  ohos_copy("fstab.required") {
28    sources = [ "etc/fstab.qemu.arm.linux" ]
29    outputs = [ "$root_build_dir/fstab.required" ]
30  }
31}
32
33group("chipset_files") {
34  deps = [
35    ":fstab.qemu.arm.linux",
36    "//kernel/linux/build:linux_kernel",
37  ]
38  if (enable_ramdisk) {
39    deps += [
40      ":fstab.required",
41      ":ohos.its",
42    ]
43  }
44}
45