1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 # Makefile for kexec tests 2 # Makefile for kexec tests 3 3 4 ARCH ?= $(shell uname -m 2>/dev/null || echo n 4 ARCH ?= $(shell uname -m 2>/dev/null || echo not) 5 ARCH_PROCESSED := $(shell echo $(ARCH) | sed - 5 ARCH_PROCESSED := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 6 6 7 ifeq ($(ARCH_PROCESSED),$(filter $(ARCH_PROCES 7 ifeq ($(ARCH_PROCESSED),$(filter $(ARCH_PROCESSED),x86 ppc64le)) 8 TEST_PROGS := test_kexec_load.sh test_kexec_fi 8 TEST_PROGS := test_kexec_load.sh test_kexec_file_load.sh 9 TEST_FILES := kexec_common_lib.sh 9 TEST_FILES := kexec_common_lib.sh 10 10 11 include ../lib.mk 11 include ../lib.mk 12 12 13 endif 13 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.