blob: 5576ee6a51f21bb32a0ede4337d9da049e37fd42 [file] [log] [blame]
Cyril Bur7bb0e7e2016-09-23 16:18:22 +10001SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
Cyril Burdd9bda42016-09-23 16:18:23 +10002 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
Cyril Burf10d4422016-09-23 16:18:20 +10003
bamvor.zhangjian@huawei.com88baa782016-11-29 19:55:47 +08004TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
Cyril Burf10d4422016-09-23 16:18:20 +10005 tm-vmxcopy tm-fork tm-tar tm-tmspr $(SIGNAL_CONTEXT_CHK_TESTS)
Sam bobroff96d01612014-06-05 16:19:22 +10006
bamvor.zhangjian@huawei.com88baa782016-11-29 19:55:47 +08007include ../../lib.mk
Sam bobroff96d01612014-06-05 16:19:22 +10008
bamvor.zhangjian@huawei.com88baa782016-11-29 19:55:47 +08009$(TEST_GEN_PROGS): ../harness.c ../utils.c
Sam bobroff96d01612014-06-05 16:19:22 +100010
Cyril Bura431b942016-06-29 21:41:51 +100011CFLAGS += -mhtm
12
bamvor.zhangjian@huawei.coma8ba7982016-11-29 19:55:52 +080013$(OUTPUT)/tm-syscall: tm-syscall-asm.S
14$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
15$(OUTPUT)/tm-tmspr: CFLAGS += -pthread
Sam bobroff7fe924d2015-04-10 14:16:49 +100016
Michael Ellerman68bd42d92017-02-09 19:56:30 +110017SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS))
Cyril Burf10d4422016-09-23 16:18:20 +100018$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
19$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx