1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-05-02 06:36:01 +00:00

syscon: Implement a register for storing git hash info

It also stores the dirty status so that's known.

This does some Makefile tricks so that we only rebuild when the git
hash changes. This avoids rebuilding the world every time we run
make.

Also adds fusesoc generator, so that should continue to work as
before.

Signed-off-by: Dan Horák <dan@danny.cz>
Signed-off-by: Michael Neuling <mikey@neuling.org>
This commit is contained in:
Dan Horák
2020-08-28 14:24:07 +02:00
committed by Michael Neuling
parent 050185e2ca
commit 1ddbacb67f
9 changed files with 116 additions and 8 deletions

View File

@@ -63,6 +63,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make git.vhdl
- uses: docker://ghdl/vunit:llvm
with:
args: python3 ./run.py -p10