1# Copyright (C) 2022 Shenzhen Kaihong Digital Industry Development 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 15AP6XXX_ETC_DIR = "//device/board/kaihong/khdvk_3566b/wifi/ap6xxx" 16DNS_CONFIG_DIR = "//device/board/kaihong/khdvk_3566b/wifi" 17 18ohos_prebuilt_etc("fw_bcm43456c5_ag.bin") { 19 source = "$AP6XXX_ETC_DIR/fw_bcm43456c5_ag.bin" 20 install_images = [ chipset_base_dir ] 21 relative_install_dir = "firmware" 22 part_name = "kaihong_products" 23 install_enable = true 24} 25 26ohos_prebuilt_etc("nvram_ap6256.txt") { 27 source = "$AP6XXX_ETC_DIR/nvram_ap6256.txt" 28 install_images = [ chipset_base_dir ] 29 relative_install_dir = "firmware" 30 part_name = "kaihong_products" 31 install_enable = true 32} 33 34ohos_prebuilt_etc("resolv.conf") { 35 source = "$DNS_CONFIG_DIR/etc/resolv.conf" 36 install_images = [ "system" ] 37 part_name = "kaihong_products" 38 install_enable = true 39} 40 41group("ap6xxx") { 42 deps = [ 43 ":fw_bcm43456c5_ag.bin", 44 ":nvram_ap6256.txt", 45 ":resolv.conf", 46 ] 47} 48