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/i386
/)
14 gcc breakpoint_test.c
-o breakpoint_test
16 echo
"Not an x86 target, can't build breakpoints selftests"
20 @.
/breakpoint_test || echo
"breakpoints selftests: [FAIL]"
23 rm -fr breakpoint_test