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