1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 ifndef CROSS_COMPILE 2 ifndef CROSS_COMPILE 3 uname_M := $(shell uname -m 2>/dev/null || ech 3 uname_M := $(shell uname -m 2>/dev/null || echo not) 4 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.8 4 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 5 5 6 ifeq ($(ARCH),x86) 6 ifeq ($(ARCH),x86) 7 TEST_PROGS := disable-tsc-ctxt-sw-stress-test 7 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \ 8 disable-tsc-test set-anon-vma- 8 disable-tsc-test set-anon-vma-name-test set-process-name 9 all: $(TEST_PROGS) 9 all: $(TEST_PROGS) 10 10 11 include ../lib.mk 11 include ../lib.mk 12 12 13 endif 13 endif 14 endif 14 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.