Squash commits for public release
This commit is contained in:
31
build/boot/arm64/BUILD.gn
Normal file
31
build/boot/arm64/BUILD.gn
Normal file
@@ -0,0 +1,31 @@
|
||||
# Use a strange __EMPTY_PATH_, empty string can't be passed as an arg.
|
||||
path_to_bins = "__EMPTY_PATH_"
|
||||
if (host == "llvm") {
|
||||
path_to_bins = llvm_bin_path
|
||||
}
|
||||
|
||||
devtree_compile_script_args = [
|
||||
rebase_path("//firmware/$target_arch/$target_board.odt", root_build_dir),
|
||||
rebase_path("$root_out_dir/firmware/$target_board.obt", root_build_dir),
|
||||
"$target_arch",
|
||||
"$target_board",
|
||||
"$host",
|
||||
"$path_to_bins",
|
||||
]
|
||||
|
||||
action("devtree_compile") {
|
||||
script = "//build/kernel/devtree_compile.py"
|
||||
inputs = [ "//firmware/$target_arch/$target_board.odt" ]
|
||||
outputs = [
|
||||
"$root_out_dir/firmware/$target_board.obt",
|
||||
"$root_out_dir/firmware/$target_board.obto",
|
||||
]
|
||||
args = devtree_compile_script_args
|
||||
}
|
||||
|
||||
group("bootarm64") {
|
||||
deps = [
|
||||
":devtree_compile",
|
||||
"rawImage:rawImage",
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user