1# Taken from perf makefile 2uname_M := $(shell uname -m 2>/dev/null || echo not) 3ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 4 5ifeq ($(ARCH),x86) 6TEST_PROGS := breakpoint_test 7endif 8 9TEST_PROGS += step_after_suspend_test 10 11all: $(TEST_PROGS) 12 13include ../lib.mk 14 15clean: 16 rm -fr breakpoint_test step_after_suspend_test 17