23 lines
720 B
Plaintext
23 lines
720 B
Plaintext
if (target_arch == "arm64") {
|
|
action("rawImage") {
|
|
script = "make_raw_image.py"
|
|
sources = [
|
|
"$root_build_dir/base/boot/kernel.bin",
|
|
"$root_build_dir/prekernelarm64.bin",
|
|
]
|
|
outputs = [ "$root_build_dir/rawImage.bin" ]
|
|
args = [
|
|
rebase_path("$root_build_dir/prekernelarm64.bin", root_build_dir),
|
|
rebase_path("$root_build_dir/base/boot/kernel.bin", root_build_dir),
|
|
rebase_path("$root_out_dir/firmware/$target_board.obt", root_build_dir),
|
|
rebase_path("$root_build_dir/rawImage.bin", root_build_dir),
|
|
]
|
|
|
|
deps = [
|
|
"//build/boot/arm64:devtree_compile",
|
|
"//build/boot/arm64/prekernel:prekernelarm64",
|
|
"//build/kernel:kernel_build",
|
|
]
|
|
}
|
|
}
|