dtc: add fdtget in Android.bp

am: 38bd6fab2a

Change-Id: If94fc37daf29c76944986c835f3e69764bf6a815
This commit is contained in:
Martin Liu 2019-03-19 21:21:11 -07:00 committed by android-build-merger
commit a4b7498ee0

View file

@ -1,8 +1,6 @@
// Copyright 2016 The Android Open Source Project
cc_binary_host {
name: "dtc",
cc_defaults {
name: "dt_defaults",
cflags: [
"-Wall",
"-Werror",
@ -10,6 +8,21 @@ cc_binary_host {
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",
],
static_libs: ["libfdt"],
stl: "none",
dist: {
targets: [
"dist_files",
],
dir: "dtc",
},
}
cc_binary_host {
name: "dtc",
defaults: ["dt_defaults"],
srcs: [
"checks.c",
"data.c",
@ -23,14 +36,13 @@ cc_binary_host {
"treesource.c",
"util.c",
],
static_libs: ["libfdt"],
stl: "none",
dist: {
targets: [
"dist_files",
],
dir: "dtc",
},
}
cc_binary_host {
name: "fdtget",
defaults: ["dt_defaults"],
srcs: [
"fdtget.c",
"util.c",
],
}