[lint] Remove legacy Makefile flow for linting tools

The Makefile flow is superseded by the dvsim integrated flows which
support better reporting and dashboarding.

Signed-off-by: Michael Schaffner <msf@opentitan.org>
diff --git a/hw/lint/.gitignore b/hw/lint/.gitignore
deleted file mode 100644
index d4d090c..0000000
--- a/hw/lint/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-build
-reports
-ascentlint.policy
diff --git a/hw/lint/Makefile b/hw/lint/Makefile
deleted file mode 100644
index 3af8608..0000000
--- a/hw/lint/Makefile
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright lowRISC contributors.
-# Licensed under the Apache License, Version 2.0, see LICENSE for details.
-# SPDX-License-Identifier: Apache-2.0
-#
-# Makefile with ascentlint, verilator-lint and verible style lint
-# targets for OpenTitan
-#
-# TODO: currently we cannot support parallel builds since some fusesoc cores
-# define filesets with files outside the current folder (e.g. using relative
-# path prefixes such as "../../"). this can cause collisions between parallel
-# builds since they are not nicely contained within the same folder. This should
-# be solved by reworking the fusesoc core files (especially the top-level one).
-
-CORE_ROOT ?= ../../
-REPORT_DIR ?= reports
-
-IPS ?=  ip-aes                 \
-        ip-alert_handler       \
-        ip-clkmgr              \
-        ip-entropy_src         \
-        ip-flash_ctrl          \
-        ip-gpio                \
-        ip-hmac                \
-        ip-i2c                 \
-        ip-otp_ctrl            \
-        ip-nmi_gen             \
-        ip-padctrl             \
-        ip-pinmux              \
-        ip-pwrmgr              \
-        ip-rv_core_ibex        \
-        ip-rv_dm               \
-        ip-rv_plic_example     \
-        ip-rv_timer            \
-        ip-spi_device          \
-        ip-uart                \
-        ip-usbdev              \
-        ip-usb_fs_nb_pe        \
-        ip-usbuart             \
-        ip-rstmgr              \
-        tlul-socket_1n         \
-        tlul-socket_m1         \
-        tlul-adapter_reg       \
-        tlul-adapter_sram      \
-        tlul-sram2tlul         \
-        systems-top_earlgrey
-
-ips_lint  = $(addsuffix _lint, $(IPS))
-ips_vlint = $(addsuffix _vlint, $(IPS))
-ips_slint = $(addsuffix _slint, $(IPS))
-
-######################
-# ascentlint targets #
-######################
-
-# lint all discovered targets and make a report
-all: lint
-	$(MAKE) report
-
-lint: clean
-	@echo Discovered lint targets:
-	@echo -e "\n $(patsubst %,%\\n,$(strip $(ips_lint)))"
-	$(MAKE) $(ips_lint)
-
-$(ips_lint):
-	rm -rf build
-	mkdir -p ${REPORT_DIR}
-	-fusesoc --cores-root ${CORE_ROOT} run --target=lint --tool=ascentlint lowrisc:$(subst -,:,$(patsubst %_lint,%,$@))
-	cp build/lowrisc_*$(subst -,_,$(patsubst %_lint,%,$@))*/lint-ascentlint/ascentlint.log ${REPORT_DIR}/$(patsubst %_lint,%,$@).log
-	cp build/lowrisc_*$(subst -,_,$(patsubst %_lint,%,$@))*/lint-ascentlint/ascentlint.rpt ${REPORT_DIR}/$(patsubst %_lint,%,$@).rpt
-
-# creates a (filtered) summary report from all available ascentlint logs/rpts
-# note that lint reports have to be filtered using this script before publishing
-# any information from these reports publicly
-# note, the filtering script is simplistic ATM and just looks for *.rpt files
-# hence we have to temporarily write the output to a file with a different extension
-# since otherwise the gen_report script will try to process the summary report as well.
-report:
-	$(eval TMPFILE=$(shell mktemp))
-	rm -f ${REPORT_DIR}/lint_summary.rpt
-	./util/gen-report.sh | tee $(TMPFILE)
-	cp $(TMPFILE) ${REPORT_DIR}/lint_summary.rpt
-	rm -f $(TMPFILE)
-
-#####################
-# verilator targets #
-#####################
-
-vall: vlint
-	$(MAKE) vreport
-
-vlint: clean
-	@echo Discovered vlint targets:
-	@echo -e "\n $(patsubst %,%\\n,$(strip $(ips_vlint)))"
-	$(MAKE) $(ips_vlint)
-
-$(ips_vlint):
-	rm -rf build
-	mkdir -p ${REPORT_DIR}
-	-fusesoc --cores-root ${CORE_ROOT} run --target=lint lowrisc:$(subst -,:,$(patsubst %_vlint,%,$@))
-
-# TODO: add summary reporting
-vreport:
-
-##############################
-# verible style lint targets #
-##############################
-
-sall: slint
-	$(MAKE) sreport
-
-slint: clean
-	@echo Discovered vlint targets:
-	@echo -e "\n $(patsubst %,%\\n,$(strip $(ips_vlint)))"
-	$(MAKE) $(ips_vlint)
-
-# TODO(#1727): pass Verible config file to FuseSoC, once supported by Verible
-$(ips_slint):
-	rm -rf build
-	mkdir -p ${REPORT_DIR}
-	-fusesoc --cores-root ${CORE_ROOT} run --target=lint --tool=veriblelint lowrisc:$(subst -,:,$(patsubst %_slint,%,$@))
-
-# TODO: add summary reporting
-sreport:
-
-##################
-# common targets #
-##################
-
-clean:
-	rm -rf build
-	rm -rf ${REPORT_DIR}/*
-
-.PHONY: all lint $(ips_lint) report vall vlint $(ips_vlint) \
-        vreport sall slint $(ips_slint) clean sreport
diff --git a/hw/lint/util/gen-report.sh b/hw/lint/util/gen-report.sh
deleted file mode 100755
index eba48a0..0000000
--- a/hw/lint/util/gen-report.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-# Copyright lowRISC contributors.
-# Licensed under the Apache License, Version 2.0, see LICENSE for details.
-# SPDX-License-Identifier: Apache-2.0
-#
-# Ascentlint report summary generation script.
-#
-
-REPORT_DIR=reports
-
-#-------------------------------------------------------------------------
-# print header
-#-------------------------------------------------------------------------
-printf "NUMBER OF LINT ERRORS PER BLOCK:\n\n"
-format="%20s %10s %10s \n"
-printf "${format}" "Block" "Errors" "Warnings"
-echo "-------------------------------------------"
-
-#-------------------------------------------------------------------------
-# run lint and summarize results
-#-------------------------------------------------------------------------
-
-for report in ${REPORT_DIR}/*.rpt ; do
-
-  # summarize results
-  crash=`grep "Exiting with error status" "${report%.*}.log"`
-  if [[ ! -z "$crash" ]]; then
-    error_cnt="CRASH"
-    warni_cnt="CRASH"
-  else
-    error_cnt=`grep "^E  " "${report%.*}.rpt" | wc -l`
-    warni_cnt=`grep "^W  " "${report%.*}.rpt" | wc -l`
-  fi
-  printf "${format}" `basename "${report%.*}"` $error_cnt $warni_cnt
-done
-
-echo "-------------------------------------------"
-echo "END SUMMARY"
-
-#-------------------------------------------------------------------------
-# generate detailed reports
-#-------------------------------------------------------------------------
-printf "\n\nLIST OF ERRORS (E) AND WARNINGS (W) FOR EACH BLOCK:"
-for report in ${REPORT_DIR}/*.rpt ; do
-
-  printf "\n\n`basename "${report%.*}"`\n"
-
-  # grep for lint crashes and lint errors, and limit line length
-  grep "^  ERR" -A 2 "${report%.*}.log" | cut -c -200
-  grep "^E  "        "${report%.*}.rpt" | cut -c -200
-  grep "^W  "        "${report%.*}.rpt" | cut -c -200
-
-done