mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
92dd8dd4d0
Move prctl tests from Documentation/prctl to selftests/prctl. Remove prctl from Makefile to move the test. Update prctl Makefile to work under selftests. prctl will not be run as part of selftests suite and will not be included in install targets. They can be built separately for now. Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
16 lines
343 B
Makefile
16 lines
343 B
Makefile
ifndef CROSS_COMPILE
|
|
uname_M := $(shell uname -m 2>/dev/null || echo not)
|
|
ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
|
|
|
|
ifeq ($(ARCH),x86)
|
|
TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
|
|
disable-tsc-test
|
|
all: $(TEST_PROGS)
|
|
|
|
include ../lib.mk
|
|
|
|
clean:
|
|
rm -fr $(TEST_PROGS)
|
|
endif
|
|
endif
|