diff options
author | Anton Samsonov <Anton.V.Samsonov@mcst.ru> | 2022-08-04 11:48:23 +0300 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2022-08-09 11:38:18 +0000 |
commit | bd72307a461599370694d9bf32ef70ba443366a2 (patch) | |
tree | beae9517ee7d803265d4e1e06fa09935ef9156c0 | |
parent | ef4eb1714b30afb6d98f1574dbf3316c70d19090 (diff) | |
download | flashrom-bd72307a461599370694d9bf32ef70ba443366a2.tar.gz flashrom-bd72307a461599370694d9bf32ef70ba443366a2.tar.bz2 flashrom-bd72307a461599370694d9bf32ef70ba443366a2.zip |
Makefile: Add support for Elbrus (e2k) architecture
Signed-off-by: Anton Samsonov <devel@zxlab.ru>
Change-Id: Ifc834e943ae93c59447afc86454b22ca662d3ef6
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66426
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.d/arch_test.h | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 077aabacf..2b988efde 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 |