Skip to content

Commit d33183c

Browse files
committed
chore: add amtest target select option
1 parent ee17dd3 commit d33183c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rtl/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,9 @@ cpuTestBuild:
156156

157157
###### (am)am-tests target ######
158158
# now only test the rtl-time and interrupt
159+
AM_TARGET ?=h
159160
amTestBuild:
160-
$(MAKE) -C $(AMTEST_HOME) ARCH=riscv64-mycpu mainargs=i
161+
$(MAKE) -C $(AMTEST_HOME) ARCH=riscv64-mycpu mainargs=$(AM_TARGET)
161162

162163
###### (am)coremark target ######
163164
coremarkTestBuild:

0 commit comments

Comments
 (0)