Merge tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / tools / testing / selftests / prctl / Makefile
1 ifndef CROSS_COMPILE
2 uname_M := $(shell uname -m 2>/dev/null || echo not)
3 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
4
5 ifeq ($(ARCH),x86)
6 TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
7                 disable-tsc-test
8 all: $(TEST_PROGS)
9
10 include ../lib.mk
11
12 clean:
13         rm -fr $(TEST_PROGS)
14 endif
15 endif