commit | f49bee189f77c731ad00b92627c1b70d905b2a90 | [log] [tgz] |
---|---|---|
author | Srikrishna Iyer <sriyer@google.com> | Wed Mar 24 17:55:16 2021 -0700 |
committer | Srikrishna Iyer <46467186+sriyerg@users.noreply.github.com> | Wed Mar 24 19:35:42 2021 -0700 |
tree | 46b4bef648420603edc6fe98a835b5cd7f780543 | |
parent | e390f206647af8a380cfaa406b157deca6f3e78b [diff] |
[dvsim] Prevent command echo suppression At some point in the past, I had refactored the way SW images were handled. I had added `.ONESHELL:` to the `sw_build` target, assuming that the `.ONESHELL` would only affect that target (cause all recipes of a target to execute in the same shell). Turns out, its more of a global setting - it affects ALL recipes of all targets. This had an unintended consequence: For all targets, the first recipe is an echo command printing the name of that target, the echoing of which is suppressed with an `@`. Because the rest of the recipes get invoked in the same shell, their echoing is also suppressed. This makes issues hard to debug. In this change, the `.ONESHELL` is removed, and all recipes of `sw_build` are invoked one the same line with a trailing `\`. The first command is `set -e` which is the equivalent of all commands chained with `&&` (which is already what we want). Signed-off-by: Srikrishna Iyer <sriyer@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).