blob: 207107223c5b61c2d6fa7e752e2e52fe9bf453ca [file] [log] [blame]
#!/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.
### build the kernel
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-config-read
echo "Building zircon..."
"${FUCHSIA_DIR}/scripts/build-zircon.sh" \
-t "${FUCHSIA_ARCH}" \
-j "$(fx-choose-build-concurrency)" \
"${FUCHSIA_BUILD_ZIRCON_ARGS[@]}" "$@"