1# Copyright (C) 2022 iSoftStone 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. 13 14import("//build/ohos.gni") 15import("//build/ohos/kernel/kernel.gni") 16 17ohos_prebuilt_etc("init.sun50iw9p1.cfg") { 18 source = "init.sun50iw9p1.cfg" 19 module_install_dir = "etc" 20 install_images = [ chipset_base_dir ] 21 part_name = "allwinner_products" 22 install_enable = true 23} 24 25ohos_prebuilt_etc("init.sun50iw9p1.usb.cfg") { 26 source = "init.sun50iw9p1.usb.cfg" 27 module_install_dir = "etc" 28 install_images = [ chipset_base_dir ] 29 part_name = "allwinner_products" 30 install_enable = true 31} 32 33ohos_prebuilt_etc("init.sun50iw9p1.updater.cfg") { 34 source = "init.sun50iw9p1.updater.cfg" 35 install_images = [ "updater" ] 36 part_name = "allwinner_products" 37 install_enable = true 38} 39 40group("init_configs") { 41 deps = [ 42 ":init.sun50iw9p1.cfg", 43 ":init.sun50iw9p1.updater.cfg", 44 ":init.sun50iw9p1.usb.cfg", 45 ] 46} 47