1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Taken from perf makefile 2 # Taken from perf makefile 3 uname_M := $(shell uname -m 2>/dev/null || ech 3 uname_M := $(shell uname -m 2>/dev/null || echo not) 4 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.8 4 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 5 5 6 TEST_GEN_PROGS := step_after_suspend_test 6 TEST_GEN_PROGS := step_after_suspend_test 7 7 8 ifeq ($(ARCH),x86) 8 ifeq ($(ARCH),x86) 9 TEST_GEN_PROGS += breakpoint_test 9 TEST_GEN_PROGS += breakpoint_test 10 endif 10 endif 11 ifneq (,$(filter $(ARCH),aarch64 arm64)) 11 ifneq (,$(filter $(ARCH),aarch64 arm64)) 12 TEST_GEN_PROGS += breakpoint_test_arm64 12 TEST_GEN_PROGS += breakpoint_test_arm64 13 endif 13 endif 14 14 15 include ../lib.mk 15 include ../lib.mk 16 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.