5 TEST_SRC = $(SRC_PATH)/tests/tcg/riscv64
8 LINK_SCRIPT = $(TEST_SRC)/semihost.ld
9 LDFLAGS = -T $(LINK_SCRIPT)
13 $(CC) $(CFLAGS) $< -c -o $@
15 $(LD) $(LDFLAGS) $< -o $@
17 QEMU_OPTS += -M virt -display none -semihosting -device loader,file=
19 EXTRA_RUNS += run-issue1060
20 run-issue1060: issue1060
21 $(call run-test, $<, $(QEMU) $(QEMU_OPTS)$<)