18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# Taken from perf makefile 38c2ecf20Sopenharmony_ciuname_M := $(shell uname -m 2>/dev/null || echo not) 48c2ecf20Sopenharmony_ciARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciTEST_GEN_PROGS := step_after_suspend_test 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciifeq ($(ARCH),x86) 98c2ecf20Sopenharmony_ciTEST_GEN_PROGS += breakpoint_test 108c2ecf20Sopenharmony_ciendif 118c2ecf20Sopenharmony_ciifneq (,$(filter $(ARCH),aarch64 arm64)) 128c2ecf20Sopenharmony_ciTEST_GEN_PROGS += breakpoint_test_arm64 138c2ecf20Sopenharmony_ciendif 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciinclude ../lib.mk 168c2ecf20Sopenharmony_ci 17