1TESTS_PATH = $(SRC_PATH)/tests/tcg/tricore 2 3LDFLAGS = -T$(TESTS_PATH)/link.ld --mcpu=tc162 4ASFLAGS = -mtc162 5 6TESTS += test_abs.tst 7TESTS += test_bmerge.tst 8TESTS += test_clz.tst 9TESTS += test_dextr.tst 10TESTS += test_dvstep.tst 11TESTS += test_fadd.tst 12TESTS += test_fmul.tst 13TESTS += test_ftoi.tst 14TESTS += test_imask.tst 15TESTS += test_insert.tst 16TESTS += test_ld_bu.tst 17TESTS += test_ld_h.tst 18TESTS += test_madd.tst 19TESTS += test_msub.tst 20TESTS += test_muls.tst 21 22QEMU_OPTS += -M tricore_testboard -cpu tc27x -nographic -kernel 23 24%.pS: $(TESTS_PATH)/%.S 25 $(HOST_CC) -E -o $@ $< 26 27%.o: %.pS 28 $(AS) $(ASFLAGS) -o $@ $< 29 30%.tst: %.o 31 $(LD) $(LDFLAGS) $< -o $@ 32 33# We don't currently support the multiarch system tests 34undefine MULTIARCH_TESTS 35