David Lattimore | 42b2bb1 | 2022-01-06 08:58:29 +1100 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | |
| 3 | # Copyright 2021 The Chromium OS Authors. All rights reserved. |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
| 7 | # Builds the Rust FPGA ROM. This is intended for development purposes only. |
| 8 | |
| 9 | set -e |
| 10 | |
| 11 | PROJECT_ROOT=$(git rev-parse --show-toplevel) |
| 12 | FEATURES=image-transfer,debug-commands |
| 13 | if [ "$TFLM" != "0" ]; then |
| 14 | FEATURES+=,tflm |
| 15 | fi |
| 16 | export FEATURES |
| 17 | |
| 18 | exec "${PROJECT_ROOT}/scripts/build-fpga-rom" |