1ifndef CROSS_COMPILE 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 := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \ 7 disable-tsc-test 8all: $(TEST_PROGS) 9 10include ../lib.mk 11 12clean: 13 rm -fr $(TEST_PROGS) 14endif 15endif 16