tools/testing/selftests/prctl/Makefile
raw| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | ifndef CROSS_COMPILE |
| 3 | ARCH ?= $(shell uname -m 2>/dev/null || echo not) |
| 4 | override ARCH := $(shell echo $(ARCH) | 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 set-anon-vma-name-test set-process-name |
| 9 | all: $(TEST_PROGS) |
| 10 | |
| 11 | include ../lib.mk |
| 12 | |
| 13 | endif |
| 14 | endif |