gnu-efi: upgrade 4.0.1 -> 4.0.2

ChangeLog:
https://github.com/ncroxon/gnu-efi/releases/tag/4.0.2
* Fix syslinux issue + user CFLAGS/LDFLAGS
* Shim 16 updates + IsZeroGuid

(From OE-Core rev: 2f5c7aa53864a9bb6227a7731fcd58d1dc72633f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao
2025-08-05 15:41:16 +08:00
committed by Richard Purdie
parent d0d9cf0746
commit de8406c8b2
2 changed files with 9 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
From 80e17bcdf45dcf40b8f356cf68389612407b9f7b Mon Sep 17 00:00:00 2001
From 2f70be61679933805e1d2fef4fefcaf041cbd8db Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 16 May 2024 21:38:32 +0800
Subject: [PATCH] Do not treat warnings as errors
@@ -15,15 +15,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Make.defaults b/Make.defaults
index 6d3cf51..23b9383 100755
index 777a638..bf98939 100755
--- a/Make.defaults
+++ b/Make.defaults
@@ -267,7 +267,7 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
@@ -275,7 +275,7 @@ EFI_CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
-fno-strict-aliasing \
-ffreestanding -fno-stack-protector
else
-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
+CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \
-EFI_CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
+EFI_CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \
-fno-strict-aliasing \
-ffreestanding -fno-stack-protector \
$(if $(findstring 0,$(USING_CLANG)),-fno-merge-all-constants,)
--
2.34.1

View File

@@ -18,7 +18,7 @@ COMPATIBLE_HOST:armv4 = 'null'
SRC_URI = "git://github.com/ncroxon/gnu-efi;protocol=https;branch=master \
file://0001-Do-not-treat-warnings-as-errors.patch \
"
SRCREV = "00cdfa66e923ab2f6683bb52cab0d0d1a9083b16"
SRCREV = "1fee8ab566ce91b9cbab9f2c85db96566d79063b"
# llvm-objcopy fails
# arm-poky-linux-gnueabi-llvm-objcopy: error: 't8.so': section '.dynstr' cannot be removed because it is referenced by the section '.dynamic'