Added "make clean" handling of riscv-gnu-toolchain-riscv32* directories

This commit is contained in:
Clifford Wolf 2016-04-09 12:51:50 +02:00
parent 579b60aef9
commit 36cdf83b3f
2 changed files with 6 additions and 0 deletions

4
.gitignore vendored
View File

@ -14,6 +14,10 @@
/dhrystone/timing.txt /dhrystone/timing.txt
/dhrystone/*.d /dhrystone/*.d
/dhrystone/*.o /dhrystone/*.o
/riscv-gnu-toolchain-riscv32i
/riscv-gnu-toolchain-riscv32ic
/riscv-gnu-toolchain-riscv32im
/riscv-gnu-toolchain-riscv32imc
/testbench.exe /testbench.exe
/testbench_sp.exe /testbench_sp.exe
/testbench_axi.exe /testbench_axi.exe

View File

@ -103,6 +103,8 @@ toc:
gawk '/^-+$$/ { y=tolower(x); gsub("[^a-z0-9]+", "-", y); gsub("-$$", "", y); printf("- [%s](#%s)\n", x, y); } { x=$$0; }' README.md gawk '/^-+$$/ { y=tolower(x); gsub("[^a-z0-9]+", "-", y); gsub("-$$", "", y); printf("- [%s](#%s)\n", x, y); } { x=$$0; }' README.md
clean: clean:
rm -rf riscv-gnu-toolchain-riscv32i riscv-gnu-toolchain-riscv32ic \
riscv-gnu-toolchain-riscv32im riscv-gnu-toolchain-riscv32imc
rm -vrf $(FIRMWARE_OBJS) $(TEST_OBJS) check.smt2 check.vcd synth.v synth.log \ rm -vrf $(FIRMWARE_OBJS) $(TEST_OBJS) check.smt2 check.vcd synth.v synth.log \
firmware/firmware.elf firmware/firmware.bin firmware/firmware.hex firmware/firmware.map \ firmware/firmware.elf firmware/firmware.bin firmware/firmware.hex firmware/firmware.map \
testbench.exe testbench_sp.exe testbench_synth.exe testbench.vcd testbench.exe testbench_sp.exe testbench_synth.exe testbench.vcd