2017-11-01 15:07:57 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2012-01-12 17:20:46 -08:00
|
|
|
# Taken from perf makefile
|
2026-03-09 20:51:45 +00:00
|
|
|
ARCH ?= $(shell uname -m 2>/dev/null || echo not)
|
|
|
|
|
override ARCH := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
|
2012-01-12 17:20:46 -08:00
|
|
|
|
2017-06-29 12:39:53 +03:00
|
|
|
TEST_GEN_PROGS := step_after_suspend_test
|
|
|
|
|
|
2015-08-14 21:43:38 +08:00
|
|
|
ifeq ($(ARCH),x86)
|
2017-06-29 12:39:53 +03:00
|
|
|
TEST_GEN_PROGS += breakpoint_test
|
2015-08-14 21:43:38 +08:00
|
|
|
endif
|
2017-03-22 20:04:58 +02:00
|
|
|
ifneq (,$(filter $(ARCH),aarch64 arm64))
|
2017-06-29 12:39:53 +03:00
|
|
|
TEST_GEN_PROGS += breakpoint_test_arm64
|
2016-11-14 19:32:46 +05:30
|
|
|
endif
|
2012-01-12 17:20:46 -08:00
|
|
|
|
2015-03-11 15:05:59 +11:00
|
|
|
include ../lib.mk
|
2012-03-28 14:42:54 -07:00
|
|
|
|