summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kexec/Makefile
diff options
context:
space:
mode:
authorNageswara R Sastry <rnsastry@linux.ibm.com>2021-11-24 12:38:01 +0530
committerMimi Zohar <zohar@linux.ibm.com>2022-01-05 11:44:57 -0500
commit65e38e32a959dbbb0bf5cf1ae699789f81759be6 (patch)
treec575afc7f8197b6b98c078bc693a402ca3355cac /tools/testing/selftests/kexec/Makefile
parent520451e90cbe9da018a045825626afb354b3465c (diff)
selftests/kexec: Enable secureboot tests for PowerPC
Existing test cases determine secureboot state using efi variable, which is available only on x86 architecture. Add support for determining secureboot state using device tree property on PowerNV architecture. Signed-off-by: Nageswara R Sastry <rnsastry@linux.ibm.com> Reviewed-by: Nayna Jain <nayna@linux.ibm.com> Tested-by: Nayna Jain <nayna@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/kexec/Makefile')
-rw-r--r--tools/testing/selftests/kexec/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kexec/Makefile b/tools/testing/selftests/kexec/Makefile
index aa91d2063249..806a150648c3 100644
--- a/tools/testing/selftests/kexec/Makefile
+++ b/tools/testing/selftests/kexec/Makefile
@@ -4,7 +4,7 @@
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)
+ifeq ($(ARCH),$(filter $(ARCH),x86 ppc64le))
TEST_PROGS := test_kexec_load.sh test_kexec_file_load.sh
TEST_FILES := kexec_common_lib.sh