blob: e88c9b828384a322251619559a35a7f65bd139fb [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/assembly/bootfs_files_for_assembly.gni")
executable("spiutil") {
visibility = [ ":*" ]
sources = [ "spiutil.cc" ]
deps = [
"//sdk/lib/component/incoming/cpp",
"//src/lib/ddk",
"//zircon/system/ulib/spi",
]
# TODO(https://fxbug.dev/42085293): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-vla-cxx-extension" ]
}
bootfs_files_for_assembly("bootfs") {
deps = [ ":spiutil" ]
}