From 6ac3fa7ba26222079a5e91ae9fd910aae73963e4 Mon Sep 17 00:00:00 2001 From: yaozhicheng Date: Wed, 22 May 2024 16:53:04 +0800 Subject: [PATCH] add usage & tests --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc984af..e58456d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,20 @@ export TARGET default: - echo "TODO" + @echo "Usage" + @echo " test: run tests, use TEST=test_name specify test folder in tests, default test all tests" + @echo " uftb: build uFTB DUT module" + @echo " tage_sc: build TAGE_SC DUT module" + @echo " ftb: build FTB DUT module" + @echo " ras: build RAS DUT module" + @echo " ittage: build ITTAGE DUT module" + @echo " all: build all DUTs" + @echo "Make examples:" + @echo " make test TEST=uFTB-raw" + @echo " make uftb" + +test: + make -f tests/Makefile uftb: make -f ./mk/uFTB.mk uftb