18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ciifndef CROSS_COMPILE 38c2ecf20Sopenharmony_ciuname_M := $(shell uname -m 2>/dev/null || echo not) 48c2ecf20Sopenharmony_ciARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciifeq ($(ARCH),x86) 78c2ecf20Sopenharmony_ciTEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \ 88c2ecf20Sopenharmony_ci disable-tsc-test 98c2ecf20Sopenharmony_ciall: $(TEST_PROGS) 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciinclude ../lib.mk 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciclean: 148c2ecf20Sopenharmony_ci rm -fr $(TEST_PROGS) 158c2ecf20Sopenharmony_ciendif 168c2ecf20Sopenharmony_ciendif 17