xref: /aosp_15_r20/external/linux-firmware/r8152/Android.bp (revision 2764adbb83be75699e7e173cb61cdbf8f430c544)
1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// This file is autogenerated by copybara, please do not edit.
16
17license {
18    name: "linux_firmware_r8152_license",
19    // Private visibility because nothing links against this. The kernel just
20    // asks for it to be loaded from disk by name.
21    visibility: ["//visibility:private"],
22    license_kinds: ["BSD-Binary-Only"],
23    license_text: ["LICENSE"],
24}
25
26prebuilt_firmware {
27    name: "linux_firmware_r8152",
28    licenses: ["linux_firmware_r8152_license"],
29    srcs: [
30        "rtl_nic/rtl8153a-2.fw",
31        "rtl_nic/rtl8153a-3.fw",
32        "rtl_nic/rtl8153a-4.fw",
33        "rtl_nic/rtl8153b-2.fw",
34        "rtl_nic/rtl8153c-1.fw",
35        "rtl_nic/rtl8156a-2.fw",
36        "rtl_nic/rtl8156b-2.fw",
37    ],
38    dsts: [
39        "rtl_nic/rtl8153a-2.fw",
40        "rtl_nic/rtl8153a-3.fw",
41        "rtl_nic/rtl8153a-4.fw",
42        "rtl_nic/rtl8153b-2.fw",
43        "rtl_nic/rtl8153c-1.fw",
44        "rtl_nic/rtl8156a-2.fw",
45        "rtl_nic/rtl8156b-2.fw",
46    ],
47    vendor: true,
48}
49