From b1fb245908a6996c61f59f393b7edffa4b16cb51 Mon Sep 17 00:00:00 2001 From: Adam Mooers <21245397+AdamMooers@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:53:18 -0400 Subject: [PATCH] Cleaned up Makefile formatting and clarified tar comment --- build/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 961653d..0a0154e 100644 --- a/build/Makefile +++ b/build/Makefile @@ -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|'