From bd72307a461599370694d9bf32ef70ba443366a2 Mon Sep 17 00:00:00 2001 From: Anton Samsonov Date: Thu, 4 Aug 2022 11:48:23 +0300 Subject: Makefile: Add support for Elbrus (e2k) architecture Signed-off-by: Anton Samsonov Change-Id: Ifc834e943ae93c59447afc86454b22ca662d3ef6 Reviewed-on: https://review.coreboot.org/c/flashrom/+/66426 Reviewed-by: Thomas Heijligen Tested-by: build bot (Jenkins) --- Makefile | 2 +- Makefile.d/arch_test.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f73d1440..a16f3512 100644 --- a/Makefile +++ b/Makefile @@ -363,7 +363,7 @@ endif # Additionally disable all drivers needing raw access (memory, PCI, port I/O) # on architectures with unknown raw access properties. # Right now those architectures are alpha hppa m68k sh s390 -ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc)) +ifneq ($(ARCH), $(filter $(ARCH), x86 mips ppc arm sparc arc e2k)) $(call mark_unsupported,$(DEPENDS_ON_RAW_MEM_ACCESS)) endif diff --git a/Makefile.d/arch_test.h b/Makefile.d/arch_test.h index 077aabac..2b988efd 100644 --- a/Makefile.d/arch_test.h +++ b/Makefile.d/arch_test.h @@ -45,6 +45,8 @@ #define __FLASHROM_ARCH__ "s390" #elif defined(__arc__) #define __FLASHROM_ARCH__ "arc" +#elif defined(__e2k__) + #define __FLASHROM_ARCH__ "e2k" #else #define __FLASHROM_ARCH__ "unknown" #endif -- cgit v1.2.3