Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 ifndef CROSS_COMPILE
0003 uname_M := $(shell uname -m 2>/dev/null || echo not)
0004 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
0005 
0006 ifeq ($(ARCH),x86)
0007 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
0008                 disable-tsc-test
0009 all: $(TEST_PROGS)
0010 
0011 include ../lib.mk
0012 
0013 clean:
0014         rm -fr $(TEST_PROGS)
0015 endif
0016 endif