commit | ce40dbf8d68d6a0e71635aabaa020b6278291c12 | [log] [tgz] |
---|---|---|
author | Philipp Wagner <phw@lowrisc.org> | Fri May 29 13:27:41 2020 +0100 |
committer | Garret Kelly <Garret.Kelly@gmail.com> | Sun May 31 20:46:35 2020 -0400 |
tree | ca3662a7138ab25d9c6795a8066b57ca52540f54 | |
parent | f698198dbbb465e802cdb1db5c5914c8aa224ecb [diff] |
[vendor.py] Enable overriding of desc keys The vendor tool uses configuration in `*.vendor.hjson` files, organized as nested dicts. This patch enables the overriding of some configuration entries with values on the command line. Usage example: `vendor.py -Dpatch_repo.url=/home/user/src/patch_repo` This feature makes it easier to make temporary or development changes to a vendored-in code by pointing to local copies of the patch or upstream repositories instead of remote ones. Achieving the same effect without this change would require changes to the `*.vendor.hjson` file, and a commit of those changes, as the vendor tool checks for a clean working directory before performing its work. Users of this functionality need to be aware that it can lead to mismatches between a local run with overridden configuration options, and a run on another machine, where those overrides are not present. In OpenTitan, we catch those cases with CI integrations. If there is no such CI check present, users need to be aware of the power of the tool they're using. Signed-off-by: Philipp Wagner <phw@lowrisc.org>
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).