blob: 03d0920d12be71bb232316ab53a4f961b6458a39 [file] [log] [blame] [edit]
#!/bin/bash
# Copyright 2017 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.
### start fuchsia in qemu via netboot
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/lib/image_build_vars.sh
source "${FUCHSIA_DIR}/buildtools/vars.sh"
qemu_dir="${BUILDTOOLS_QEMU_DIR}/bin"
"${FUCHSIA_DIR}/zircon/scripts/run-zircon" \
-o "${ZIRCON_BUILD_DIR}" \
-a "${FUCHSIA_ARCH}" \
-q "${qemu_dir}" \
-x "${FUCHSIA_BUILD_DIR}/netboot-${board}.bin" \
"$@"