commit | 08f926f2d6b95e0425dd8fa1662b70df674e8a4a | [log] [tgz] |
---|---|---|
author | Sam Elliott <selliott@lowrisc.org> | Fri Nov 20 13:09:14 2020 +0000 |
committer | Sam Elliott <sam@lenary.co.uk> | Fri Nov 20 14:21:45 2020 +0000 |
tree | 80466cdb4796b9cbed0c602a2ce56eed430cb668 | |
parent | 83c6aefbcdc3c6280ed2f110ed9865c2cffedd6c [diff] |
[sw] Add Custom Target Dependencies Many of our meson custom_targets depend on scripts inside the repo, but we give them absolute paths when invoking them (usually via `meson.source_root() / 'util/script.py'`), because meson does not cope with relative paths including `..`. This broadly works fine, until one of those scripts is changed, at which point meson doesn't always realise the script will have to be re-run. This change adds `depend_files:` configuration for each custom target that uses an in-tree script. Where we have abstracted the definition of the custom target, this defines a `_depend_files` variable, to go with the `_command` variable. One other major change is that `cargo` is now a disabler, so if meson does not find `cargo`, you will not get any targets that depend on cargo -- we also now ensure that we use the `cargo` that meson found, rather than any other one that might be on the user's path. Signed-off-by: Sam Elliott <selliott@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).