]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
92dd8dd4 SK |
2 | ifndef CROSS_COMPILE |
3 | uname_M := $(shell uname -m 2>/dev/null || echo not) | |
4 | ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) | |
5 | ||
6 | ifeq ($(ARCH),x86) | |
7 | TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \ | |
8 | disable-tsc-test | |
9 | all: $(TEST_PROGS) | |
10 | ||
11 | include ../lib.mk | |
12 | ||
13 | clean: | |
14 | rm -fr $(TEST_PROGS) | |
15 | endif | |
16 | endif |