1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 TM_TESTS := ptrace-tm-gpr 3 TM_TESTS := ptrace-tm-gpr 4 TM_TESTS += ptrace-tm-spd-gpr 4 TM_TESTS += ptrace-tm-spd-gpr 5 TM_TESTS += ptrace-tm-spd-tar 5 TM_TESTS += ptrace-tm-spd-tar 6 TM_TESTS += ptrace-tm-spd-vsx 6 TM_TESTS += ptrace-tm-spd-vsx 7 TM_TESTS += ptrace-tm-spr 7 TM_TESTS += ptrace-tm-spr 8 TM_TESTS += ptrace-tm-tar 8 TM_TESTS += ptrace-tm-tar 9 TM_TESTS += ptrace-tm-vsx 9 TM_TESTS += ptrace-tm-vsx 10 10 11 TESTS_64 := $(TM_TESTS) 11 TESTS_64 := $(TM_TESTS) 12 TESTS_64 += core-pkey 12 TESTS_64 += core-pkey 13 TESTS_64 += perf-hwbreak 13 TESTS_64 += perf-hwbreak 14 TESTS_64 += ptrace-hwbreak 14 TESTS_64 += ptrace-hwbreak 15 TESTS_64 += ptrace-perf-hwbreak 15 TESTS_64 += ptrace-perf-hwbreak 16 TESTS_64 += ptrace-pkey 16 TESTS_64 += ptrace-pkey 17 TESTS_64 += ptrace-syscall 17 TESTS_64 += ptrace-syscall 18 TESTS_64 += ptrace-tar 18 TESTS_64 += ptrace-tar 19 TESTS_64 += ptrace-vsx 19 TESTS_64 += ptrace-vsx 20 20 21 TESTS += ptrace-gpr 21 TESTS += ptrace-gpr 22 22 23 TEST_GEN_PROGS := $(TESTS) $(TESTS_64) 23 TEST_GEN_PROGS := $(TESTS) $(TESTS_64) 24 24 25 LOCAL_HDRS += $(patsubst %,$(selfdir)/powerpc/ 25 LOCAL_HDRS += $(patsubst %,$(selfdir)/powerpc/ptrace/%,$(wildcard *.h)) 26 26 27 top_srcdir = ../../../../.. 27 top_srcdir = ../../../../.. 28 include ../../lib.mk 28 include ../../lib.mk 29 include ../flags.mk << 30 29 31 TM_TESTS := $(patsubst %,$(OUTPUT)/%,$(TM_TEST 30 TM_TESTS := $(patsubst %,$(OUTPUT)/%,$(TM_TESTS)) 32 TESTS_64 := $(patsubst %,$(OUTPUT)/%,$(TESTS_6 31 TESTS_64 := $(patsubst %,$(OUTPUT)/%,$(TESTS_64)) 33 32 34 $(TESTS_64): CFLAGS += -m64 33 $(TESTS_64): CFLAGS += -m64 35 $(TM_TESTS): CFLAGS += -I../tm -mhtm 34 $(TM_TESTS): CFLAGS += -I../tm -mhtm 36 35 37 CFLAGS += $(KHDR_INCLUDES) -fno-pie 36 CFLAGS += $(KHDR_INCLUDES) -fno-pie 38 37 39 $(OUTPUT)/ptrace-gpr: ptrace-gpr.S 38 $(OUTPUT)/ptrace-gpr: ptrace-gpr.S 40 $(OUTPUT)/ptrace-perf-hwbreak: ptrace-perf-asm 39 $(OUTPUT)/ptrace-perf-hwbreak: ptrace-perf-asm.S 41 $(OUTPUT)/ptrace-pkey $(OUTPUT)/core-pkey: LDL 40 $(OUTPUT)/ptrace-pkey $(OUTPUT)/core-pkey: LDLIBS += -pthread 42 41 43 $(TEST_GEN_PROGS): ../harness.c ../utils.c ../ 42 $(TEST_GEN_PROGS): ../harness.c ../utils.c ../lib/reg.S
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.