aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp47
1 files changed, 34 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index 149ac75..cb13748 100644
--- a/Android.bp
+++ b/Android.bp
@@ -25,19 +25,22 @@ package {
license {
name: "external_dtc_license",
visibility: [":__subpackages__"],
- license_kinds: [
- "SPDX-license-identifier-BSD",
- "SPDX-license-identifier-BSD-2-Clause",
- "SPDX-license-identifier-GPL",
- "SPDX-license-identifier-GPL-2.0",
- "SPDX-license-identifier-ISC",
- "SPDX-license-identifier-LGPL",
- "SPDX-license-identifier-LGPL-2.1",
- ],
- license_text: [
- "NOTICE",
- "README.license",
- ],
+ license_kinds: ["SPDX-license-identifier-GPL-2.0"],
+ license_text: ["GPL"],
+}
+
+license {
+ name: "external_dtc_libfdt_license",
+ visibility: [":__subpackages__"],
+ license_kinds: ["SPDX-license-identifier-BSD-2-Clause"],
+ license_text: ["BSD-2-Clause"],
+}
+
+license {
+ name: "external_dtc_tests_license",
+ visibility: [":__subpackages__"],
+ license_kinds: ["SPDX-license-identifier-LGPL-2.1+"],
+ license_text: ["LGPL"],
}
cc_defaults {
@@ -88,3 +91,21 @@ cc_binary_host {
"util.c",
],
}
+
+cc_binary_host {
+ name: "fdtoverlay",
+ defaults: ["dt_defaults"],
+ srcs: [
+ "fdtoverlay.c",
+ "util.c",
+ ],
+}
+
+cc_binary_host {
+ name: "fdtdump",
+ defaults: ["dt_defaults"],
+ srcs: [
+ "fdtdump.c",
+ "util.c",
+ ],
+}