Cleaned up Makefile formatting and clarified tar comment

This commit is contained in:
Adam Mooers 2023-08-17 11:53:18 -04:00
parent e4a92f5e16
commit b1fb245908
1 changed files with 5 additions and 1 deletions

View File

@ -122,6 +122,7 @@ buildroot-clean:
-docker container rm upsilon-buildroot
###### Execute
flash:
if [ -d 'openFPGALoader' ]; then \
OPENFPGALOADER=./openFPGALoader/build/openFPGALoader; \
@ -163,11 +164,14 @@ litex:
cd litex && git checkout master && git pull && \
git checkout -B upsilon_stable c6ccb626e88168045edacced3743f6bd98746742
# This archiving commands rename the directory which only works with GNU tar
upsilon-hardware.tar.gz:
tar -czvf upsilon-hardware.tar.gz ../gateware/ --transform 's|gateware|upsilon/gateware|'
upsilon-buildroot.tar.gz:
tar -czvf upsilon-buildroot.tar.gz ../buildroot/ --transform 's|buildroot|upsilon/buildroot|'
# This script only works for GNU tar. It renames the extraction directory.
upsilon-opensbi.tar.gz:
tar -czvf upsilon-opensbi.tar.gz ../opensbi/ --transform 's|opensbi|opensbi/platform|'