summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-bsp/gnu-efi/gnu-efi/0001-Do-not-treat-warnings-as-errors.patch13
-rw-r--r--meta/recipes-bsp/gnu-efi/gnu-efi_4.0.2.bb (renamed from meta/recipes-bsp/gnu-efi/gnu-efi_4.0.1.bb)2
2 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi/0001-Do-not-treat-warnings-as-errors.patch b/meta/recipes-bsp/gnu-efi/gnu-efi/0001-Do-not-treat-warnings-as-errors.patch
index 0c10e66a12..2909420933 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi/0001-Do-not-treat-warnings-as-errors.patch
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi/0001-Do-not-treat-warnings-as-errors.patch
@@ -1,4 +1,4 @@
1From 80e17bcdf45dcf40b8f356cf68389612407b9f7b Mon Sep 17 00:00:00 2001 1From 2f70be61679933805e1d2fef4fefcaf041cbd8db Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 16 May 2024 21:38:32 +0800 3Date: Thu, 16 May 2024 21:38:32 +0800
4Subject: [PATCH] Do not treat warnings as errors 4Subject: [PATCH] Do not treat warnings as errors
@@ -15,15 +15,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/Make.defaults b/Make.defaults 17diff --git a/Make.defaults b/Make.defaults
18index 6d3cf51..23b9383 100755 18index 777a638..bf98939 100755
19--- a/Make.defaults 19--- a/Make.defaults
20+++ b/Make.defaults 20+++ b/Make.defaults
21@@ -267,7 +267,7 @@ CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ 21@@ -275,7 +275,7 @@ EFI_CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
22 -fno-strict-aliasing \ 22 -fno-strict-aliasing \
23 -ffreestanding -fno-stack-protector 23 -ffreestanding -fno-stack-protector
24 else 24 else
25-CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \ 25-EFI_CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra -Werror \
26+CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \ 26+EFI_CFLAGS += $(ARCH3264) -g -O2 -Wall -Wextra \
27 -fno-strict-aliasing \ 27 -fno-strict-aliasing \
28 -ffreestanding -fno-stack-protector \ 28 -ffreestanding -fno-stack-protector \
29 $(if $(findstring 0,$(USING_CLANG)),-fno-merge-all-constants,) 29 $(if $(findstring 0,$(USING_CLANG)),-fno-merge-all-constants,)
30--
312.34.1
32
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.1.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.2.bb
index 10a4ab6800..5ce5ceb884 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.1.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_4.0.2.bb
@@ -18,7 +18,7 @@ COMPATIBLE_HOST:armv4 = 'null'
18SRC_URI = "git://github.com/ncroxon/gnu-efi;protocol=https;branch=master \ 18SRC_URI = "git://github.com/ncroxon/gnu-efi;protocol=https;branch=master \
19 file://0001-Do-not-treat-warnings-as-errors.patch \ 19 file://0001-Do-not-treat-warnings-as-errors.patch \
20 " 20 "
21SRCREV = "00cdfa66e923ab2f6683bb52cab0d0d1a9083b16" 21SRCREV = "1fee8ab566ce91b9cbab9f2c85db96566d79063b"
22 22
23# llvm-objcopy fails 23# llvm-objcopy fails
24# arm-poky-linux-gnueabi-llvm-objcopy: error: 't8.so': section '.dynstr' cannot be removed because it is referenced by the section '.dynamic' 24# arm-poky-linux-gnueabi-llvm-objcopy: error: 't8.so': section '.dynstr' cannot be removed because it is referenced by the section '.dynamic'