Makefile (8a103df440afea30c91ebd42e61dc644e647f4bd) | Makefile (77fad8bfb1d2f8225b05e4ea34457875fcfae37e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 | |
2SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \ 3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx 4 5TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ | 1SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \ 2 tm-signal-context-chk-vmx tm-signal-context-chk-vsx 3 4TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ |
6 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail \ | 5 tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail tm-unavailable \ |
7 $(SIGNAL_CONTEXT_CHK_TESTS) 8 9include ../../lib.mk 10 11$(TEST_GEN_PROGS): ../harness.c ../utils.c 12 13CFLAGS += -mhtm 14 15$(OUTPUT)/tm-syscall: tm-syscall-asm.S 16$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include 17$(OUTPUT)/tm-tmspr: CFLAGS += -pthread 18$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64 19$(OUTPUT)/tm-resched-dscr: ../pmu/lib.o | 6 $(SIGNAL_CONTEXT_CHK_TESTS) 7 8include ../../lib.mk 9 10$(TEST_GEN_PROGS): ../harness.c ../utils.c 11 12CFLAGS += -mhtm 13 14$(OUTPUT)/tm-syscall: tm-syscall-asm.S 15$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include 16$(OUTPUT)/tm-tmspr: CFLAGS += -pthread 17$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64 18$(OUTPUT)/tm-resched-dscr: ../pmu/lib.o |
19$(OUTPUT)/tm-unavailable: CFLAGS += -O0 -pthread -m64 -Wno-error=uninitialized -mvsx |
|
20 21SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS)) 22$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S 23$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx | 20 21SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS)) 22$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S 23$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx |