Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2top_srcdir = ../../../..
3include $(top_srcdir)/scripts/subarch.include
4ARCH ?= $(SUBARCH)
5
6ifeq ($(ARCH),$(filter $(ARCH),arm64 s390 riscv x86 x86_64 loongarch))
7# Top-level selftests allows ARCH=x86_64 :-(
8ifeq ($(ARCH),x86_64)
9 override ARCH := x86
10endif
11include Makefile.kvm
12else
13# Empty targets for unsupported architectures
14all:
15clean:
16endif