^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) # Taken from perf makefile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) uname_M := $(shell uname -m 2>/dev/null || echo not)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) TEST_GEN_PROGS := step_after_suspend_test
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) ifeq ($(ARCH),x86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) TEST_GEN_PROGS += breakpoint_test
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) ifneq (,$(filter $(ARCH),aarch64 arm64))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) TEST_GEN_PROGS += breakpoint_test_arm64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) include ../lib.mk
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)