aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/tricore/Makefile.softmmu-target
blob: 3b048e49fa2a3401f18dc0c0b07630d276824e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TESTS_PATH = $(SRC_PATH)/tests/tcg/tricore

LDFLAGS = -T$(TESTS_PATH)/link.ld
ASFLAGS =

TESTS += test_abs.tst

QEMU_OPTS += -M tricore_testboard -nographic -kernel

%.pS: $(TESTS_PATH)/%.S
	$(HOST_CC) -E -o $@ $<

%.o: %.pS
	$(AS) $(ASFLAGS) -o $@ $<

%.tst: %.o
	$(LD) $(LDFLAGS) $< -o $@