Warn for wiping repos

This commit is contained in:
mrg 2021-11-03 08:36:10 -07:00
parent 066e558b20
commit e31bab26ae
1 changed files with 13 additions and 11 deletions

View File

@ -203,22 +203,24 @@ mount:
.PHONY: mount .PHONY: mount
clean: clean:
rm -rf $(TEST_STAMPS) @rm -rf $(TEST_STAMPS)
rm -rf $(TEST_DIRS) @rm -rf $(TEST_DIRS)
rm -f *.zip @rm -f *.zip
.PHONE: clean .PHONE: clean
uninstall: clean uninstall: clean
rm -f $(INSTALL_BASE)/tech/.magicrc @rm -f $(INSTALL_BASE)/tech/.magicrc
rm -f $(INSTALL_BASE)/mag_lib/.magicrc @rm -f $(INSTALL_BASE)/mag_lib/.magicrc
rm -f $(INSTALL_BASE)/lef_lib/.magicrc @rm -f $(INSTALL_BASE)/lef_lib/.magicrc
rm -f $(INSTALL_BASE)/maglef_lib/.magicrc @rm -f $(INSTALL_BASE)/maglef_lib/.magicrc
rm -rf $(INSTALL_DIRS) @rm -rf $(INSTALL_DIRS)
.PHONY: uninstall .PHONY: uninstall
# wipe the entire repos # wipe the entire repos
wipe: uninstall wipe: uninstall
rm -rf $(SKY130_PDK) @echo "Wiping PDK repos in 5 sec... (ctrl-c to quit)"
rm -rf $(SRAM_LIB_DIR) @sleep 5
rm -rf $(OPEN_PDKS_DIR) @rm -rf $(SKY130_PDK)
@rm -rf $(SRAM_LIB_DIR)
@rm -rf $(OPEN_PDKS_DIR)
.PHONY: wipe .PHONY: wipe