blob: c94543e0d4d68102650e9192f74e7f7c9689b2ee [file] [log] [blame]
Ram Muthiah30a9eba2020-09-29 17:34:11 -07001// Copyright (C) 2020 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
Bob Badourbae2f492021-02-12 15:52:17 -080015package {
16 default_applicable_licenses: ["device_google_cuttlefish_prebuilts_license"],
17}
18
19// Added automatically by a large-scale-change
20// See: http://go/android-license-faq
21license {
22 name: "device_google_cuttlefish_prebuilts_license",
23 visibility: [":__subpackages__"],
24 license_kinds: [
25 "SPDX-license-identifier-GPL-2.0",
26 ],
27 // large-scale-change unable to identify any license_text files
28}
29
Alistair Delvae211e012020-10-13 22:29:50 -070030sh_binary_host {
31 name: "extract-vmlinux",
32 src: "scripts/extract-vmlinux",
33}
34
Devin Moore52d5c752021-02-25 17:13:17 -080035sh_binary_host {
36 name: "extract-ikconfig",
37 src: "scripts/extract-ikconfig",
38}
39
Ram Muthiah30a9eba2020-09-29 17:34:11 -070040cc_prebuilt_binary {
41 name: "mkenvimage",
42 srcs: ["uboot_tools/mkenvimage"],
Jiyong Parkcd81a662021-01-05 16:49:39 +090043 defaults: ["cuttlefish_buildhost_only"],
Ram Muthiah30a9eba2020-09-29 17:34:11 -070044}
Alistair Delvaee915682020-10-02 19:11:24 -070045
Jiyong Park042f3c12021-02-19 15:47:04 +090046prebuilt_build_tool {
47 name: "mkenvimage_host",
48 enabled: false,
49 target: {
50 linux: {
51 src: "uboot_tools/mkenvimage",
52 enabled: true,
53 },
Jiyong Parkb289ebf2021-02-23 09:21:26 +090054 darwin: {
55 src: "uboot_tools/mkenvimage_mac.sh",
56 enabled: true,
57 },
Jiyong Park042f3c12021-02-19 15:47:04 +090058 },
59}
60
Alistair Delvaee915682020-10-02 19:11:24 -070061// Needed for beagle_x15 target, not cuttlefish.
62cc_prebuilt_binary {
63 name: "mkimage",
64 srcs: ["uboot_tools/mkimage"],
65 device_supported: false,
66 host_supported: true,
67}