From fb3aef53d22aed75f31d1c8327cad8150a8b34fa Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 30 Sep 2023 12:23:28 +0200 Subject: [PATCH] package/gnu-efi: disable on mips64el The gnu-efi package was enabled on mips64el by commit 11b347c03ab0b38389ec11b48f63236a3b4d6547 ("package/gnu-efi: add mips64el support"). However, it has been failing to build for a long time, and nobody bothered fixing it: gnu-efi-3.0.15//gnuefi/crt0-efi-mips64el.S:71: Error: cannot represent BFD_RELOC_16 relocation in this object file format Even reverting back to gnu-efi 3.0.10, which was the version used at the time of 11b347c03ab0b38389ec11b48f63236a3b4d6547, does not fix the issue. We tested updating to the latest gnu-efi version, 3.0.17, and the problem still exists. Since EFI on MIPS is extremely niche, we don't really want to invest the time to fix this issue, so let's disable it again. If someone cares enough, it can be fixed and re-enabled. Fixes: http://autobuild.buildroot.net/results/d5938edcf50ebb7fdcec148d73f402845079779d/ Signed-off-by: Thomas Petazzoni Signed-off-by: Yann E. MORIN (cherry picked from commit 13b0e6bbf3b1473993972fff8e4590a28749d823) Signed-off-by: Peter Korsgaard --- package/gnu-efi/Config.in | 1 - package/gnu-efi/gnu-efi.mk | 2 -- 2 files changed, 3 deletions(-) diff --git a/package/gnu-efi/Config.in b/package/gnu-efi/Config.in index 8e35fddbcb..d456a23837 100644 --- a/package/gnu-efi/Config.in +++ b/package/gnu-efi/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS default y if BR2_aarch64 default y if BR2_aarch64_be default y if BR2_i386 - default y if BR2_mips64el default y if BR2_x86_64 config BR2_PACKAGE_GNU_EFI diff --git a/package/gnu-efi/gnu-efi.mk b/package/gnu-efi/gnu-efi.mk index 93b5888370..686a14be01 100644 --- a/package/gnu-efi/gnu-efi.mk +++ b/package/gnu-efi/gnu-efi.mk @@ -24,8 +24,6 @@ else ifeq ($(BR2_arm)$(BR2_armeb),y) GNU_EFI_PLATFORM = arm else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) GNU_EFI_PLATFORM = aarch64 -else ifeq ($(BR2_mips64el),y) -GNU_EFI_PLATFORM = mips64el endif GNU_EFI_MAKE_OPTS = \