2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-09-18 19:54:26 +02:00
|
|
|
top_srcdir = ../../../..
|
2022-08-10 14:55:27 -04:00
|
|
|
include $(top_srcdir)/scripts/subarch.include
|
|
|
|
ARCH ?= $(SUBARCH)
|
2020-04-27 18:11:07 -06:00
|
|
|
|
2025-05-20 20:20:26 +08:00
|
|
|
ifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64 loongarch))
|
2024-11-27 16:55:46 -08:00
|
|
|
# Top-level selftests allows ARCH=x86_64 :-(
|
|
|
|
ifeq ($(ARCH),x86_64)
|
2024-11-27 16:55:47 -08:00
|
|
|
ARCH := x86
|
2021-10-05 18:09:56 +05:30
|
|
|
endif
|
2024-11-27 16:55:45 -08:00
|
|
|
include Makefile.kvm
|
2023-12-12 07:04:32 +00:00
|
|
|
else
|
2024-11-27 16:55:45 -08:00
|
|
|
# Empty targets for unsupported architectures
|
|
|
|
all:
|
|
|
|
clean:
|
2023-12-12 07:04:32 +00:00
|
|
|
endif
|