Makefile 398 B

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