| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # Makefile for kexec tests | ||||
| 3 | |||||
| 4 | uname_M := $(shell uname -m 2>/dev/null || echo not) | ||||
| 5 | ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) | ||||
| 6 | |||||
| 7 | ifeq ($(ARCH),x86) | ||||
| 8 | TEST_PROGS := test_kexec_load.sh test_kexec_file_load.sh | ||||
| 9 | TEST_FILES := kexec_common_lib.sh | ||||
| 10 | |||||
| 11 | include ../lib.mk | ||||
| 12 | |||||
| 13 | endif | ||||