dtc: add fdtget in Android.bp
am: 38bd6fab2a
Change-Id: If94fc37daf29c76944986c835f3e69764bf6a815
This commit is contained in:
commit
a4b7498ee0
1 changed files with 26 additions and 14 deletions
40
Android.bp
40
Android.bp
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue