[dv,sw] sw Makefile refactor

[sw] Makefile refactor

- added centrallized Makefile infra for maximizing reuse across SW
test, lib and boot_rom targets
- existing Make flows still remain (for the timebeing; will remove it
once all approve of this)
- all make commands are to be run from sw/ area
- updated with chip_info generation
- TODOs
  - add some documentation
  - need to fix support for external apps, eg coremark

[dv,sw] coremark port now works

- updates to get external app (coremark) compiling with the refactored
flow
- added ability to compile targets with external Makefiles with
STANDALONE_SW var
- added sw/benchmarks/srcs.mk to supply STANDALONE_CMD to build custom
app

[dv,sw] removed existing Makefiles (deprecated)
26 files changed
tree: afae4cb04c088f7249788eea956daa81aa488f69
  1. doc/
  2. hw/
  3. sw/
  4. util/
  5. .clang-format
  6. .gitignore
  7. .style.yapf
  8. azure-pipelines.yml
  9. CONTRIBUTING.md
  10. index.md
  11. LICENSE
  12. python-requirements.txt
  13. README.md
  14. sitemap.md
README.md

OpenTitan

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.

Documentation

The project contains comprehensive documentation of all IPs and tools. You can either access it online or build it locally by following the steps below.

  1. Ensure that you have the required Python modules installed (to be executed in the repository root):
$ sudo apt install python3 python3-pip
$ pip3 install --user -r python-requirements.txt
  1. Execute the build script:
$ ./util/build_docs.py --preview

This compiles the documentation into ./opentitan-docs and starts a local server, which allows you to access the documentation at http://127.0.0.1:5500.

How to contribute

Have a look at CONTRIBUTING.md for guidelines how to contribute code to this repository.

Licensing

Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).