1// Copyright (C) 2023 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
16package {
17    default_applicable_licenses: [
18        "Android-Apache-2.0",
19    ],
20}
21
22prebuilt_etc {
23    name: "ld.config.riscv64.txt",
24    src: "system/etc/ld.config.riscv64.txt",
25}
26
27prebuilt_etc {
28    name: "riscv64_dyn",
29    sub_dir: "binfmt_misc",
30    src: "system/etc/binfmt_misc/riscv64_dyn",
31}
32
33prebuilt_etc {
34    name: "riscv64_exe",
35    sub_dir: "binfmt_misc",
36    src: "system/etc/binfmt_misc/riscv64_exe",
37}
38
39prebuilt_etc {
40    name: "berberis.rc",
41    sub_dir: "init",
42    src: "system/etc/init/berberis.rc",
43}
44
45phony {
46    name: "berberis_prebuilt_riscv64",
47    required: [
48        "berberis.rc",
49        "ld.config.riscv64.txt",
50        "riscv64_dyn",
51        "riscv64_exe",
52    ],
53}
54