Cyril Bur | 7bb0e7e | 2016-09-23 16:18:22 +1000 | [diff] [blame] | 1 | SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \ |
Cyril Bur | dd9bda4 | 2016-09-23 16:18:23 +1000 | [diff] [blame] | 2 | tm-signal-context-chk-vmx tm-signal-context-chk-vsx |
Cyril Bur | f10d442 | 2016-09-23 16:18:20 +1000 | [diff] [blame] | 3 | |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 4 | TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ |
Cyril Bur | f10d442 | 2016-09-23 16:18:20 +1000 | [diff] [blame] | 5 | tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS) |
Sam bobroff | 96d0161 | 2014-06-05 16:19:22 +1000 | [diff] [blame] | 6 | |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 7 | include ../../lib.mk |
Sam bobroff | 96d0161 | 2014-06-05 16:19:22 +1000 | [diff] [blame] | 8 | |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 9 | $(TEST_GEN_PROGS): ../harness.c ../utils.c |
Sam bobroff | 96d0161 | 2014-06-05 16:19:22 +1000 | [diff] [blame] | 10 | |
Cyril Bur | a431b94 | 2016-06-29 21:41:51 +1000 | [diff] [blame] | 11 | CFLAGS += -mhtm |
| 12 | |
bamvor.zhangjian@huawei.com | a8ba798 | 2016-11-29 19:55:52 +0800 | [diff] [blame] | 13 | $(OUTPUT)/tm-syscall: tm-syscall-asm.S |
| 14 | $(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include |
| 15 | $(OUTPUT)/tm-tmspr: CFLAGS += -pthread |
Sam bobroff | 7fe924d | 2015-04-10 14:16:49 +1000 | [diff] [blame] | 16 | |
Michael Ellerman | 68bd42d9 | 2017-02-09 19:56:30 +1100 | [diff] [blame] | 17 | SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS)) |
Cyril Bur | f10d442 | 2016-09-23 16:18:20 +1000 | [diff] [blame] | 18 | $(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S |
| 19 | $(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx |