diff options
author | Mimi Zohar <zohar@linux.ibm.com> | 2019-03-13 17:09:10 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-04-18 00:10:23 +0300 |
commit | c3c0e811427632bb1c638377859f80cce956d1b3 (patch) | |
tree | 799476c453078fdc518c7f4f7bf13ddb964daa5b /tools/testing/selftests/kexec/Makefile | |
parent | a745f7af3cbd04b9c9c9e803429e1c20775b538d (diff) | |
download | linux-c3c0e811427632bb1c638377859f80cce956d1b3.tar.xz |
selftests/kexec: move the IMA kexec_load selftest to selftests/kexec
As requested move the existing kexec_load selftest and subsequent kexec
tests to the selftests/kexec directory.
Suggested-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/kexec/Makefile')
-rw-r--r-- | tools/testing/selftests/kexec/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/kexec/Makefile b/tools/testing/selftests/kexec/Makefile new file mode 100644 index 000000000000..0b3adf5444b6 --- /dev/null +++ b/tools/testing/selftests/kexec/Makefile @@ -0,0 +1,11 @@ +# Makefile for kexec_load + +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 := test_kexec_load.sh + +include ../lib.mk + +endif |