xref: /linux/tools/testing/selftests/breakpoints/Makefile (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1# SPDX-License-Identifier: GPL-2.0
2# Taken from perf makefile
3uname_M := $(shell uname -m 2>/dev/null || echo not)
4ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
5
6TEST_GEN_PROGS := step_after_suspend_test
7
8ifeq ($(ARCH),x86)
9TEST_GEN_PROGS += breakpoint_test
10endif
11ifneq (,$(filter $(ARCH),aarch64 arm64))
12TEST_GEN_PROGS += breakpoint_test_arm64
13endif
14
15include ../lib.mk
16
17