1TESTS_PATH = $(SRC_PATH)/tests/tcg/tricore 2 3LDFLAGS = -T$(TESTS_PATH)/link.ld 4ASFLAGS = 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_madd.tst 18TESTS += test_msub.tst 19TESTS += test_muls.tst 20 21QEMU_OPTS += -M tricore_testboard -nographic -kernel 22 23%.pS: $(TESTS_PATH)/%.S 24 $(HOST_CC) -E -o $@ $< 25 26%.o: %.pS 27 $(AS) $(ASFLAGS) -o $@ $< 28 29%.tst: %.o 30 $(LD) $(LDFLAGS) $< -o $@ 31