summaryrefslogtreecommitdiff
path: root/config/submodule/coreboot/default/arm-trusted-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'config/submodule/coreboot/default/arm-trusted-firmware')
-rw-r--r--config/submodule/coreboot/default/arm-trusted-firmware/patches/0001-disable-werror.patch110
1 files changed, 110 insertions, 0 deletions
diff --git a/config/submodule/coreboot/default/arm-trusted-firmware/patches/0001-disable-werror.patch b/config/submodule/coreboot/default/arm-trusted-firmware/patches/0001-disable-werror.patch
new file mode 100644
index 00000000..5554447b
--- /dev/null
+++ b/config/submodule/coreboot/default/arm-trusted-firmware/patches/0001-disable-werror.patch
@@ -0,0 +1,110 @@
+From 5b214f3e1e3919c495d45c6f52884e323a987037 Mon Sep 17 00:00:00 2001
+From: Leah Rowe <leah@libreboot.org>
+Date: Thu, 23 Apr 2026 20:45:33 +0100
+Subject: [PATCH 1/1] disable werror
+
+Signed-off-by: Leah Rowe <leah@libreboot.org>
+---
+ Makefile | 2 +-
+ tools/amlogic/Makefile | 2 +-
+ tools/fiptool/Makefile | 2 +-
+ tools/marvell/doimage/Makefile | 2 +-
+ tools/nxp/create_pbl/Makefile | 2 +-
+ tools/sptool/Makefile | 2 +-
+ tools/stm32image/Makefile | 2 +-
+ 7 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 530e6e0f5..b6f504d7c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -274,7 +274,7 @@ WARNINGS += -Wshift-overflow -Wshift-sign-overflow \
+ endif #(Clang Warning)
+
+ ifneq (${E},0)
+- ERRORS := -Werror
++ ERRORS :=
+ endif #(E)
+
+ ################################################################################
+diff --git a/tools/amlogic/Makefile b/tools/amlogic/Makefile
+index cdaf7e711..576cf0ce6 100644
+--- a/tools/amlogic/Makefile
++++ b/tools/amlogic/Makefile
+@@ -14,7 +14,7 @@ include ${MAKE_HELPERS_DIRECTORY}toolchain.mk
+ PROJECT := doimage$(.exe)
+ OBJECTS := doimage.o
+
+-HOSTCCFLAGS := -Wall -Werror -pedantic -std=c99 -D_GNU_SOURCE
++HOSTCCFLAGS := -Wall -pedantic -std=c99 -D_GNU_SOURCE
+
+ ifeq (${DEBUG},1)
+ HOSTCCFLAGS += -g -O0 -DDEBUG
+diff --git a/tools/fiptool/Makefile b/tools/fiptool/Makefile
+index a660a500e..479e72a9a 100644
+--- a/tools/fiptool/Makefile
++++ b/tools/fiptool/Makefile
+@@ -16,7 +16,7 @@ OBJECTS := fiptool.o tbbr_config.o
+ STATIC ?= 0
+
+ override CPPFLAGS += -D_GNU_SOURCE -D_XOPEN_SOURCE=700
+-HOSTCCFLAGS := -Wall -Werror -pedantic -std=c99
++HOSTCCFLAGS := -Wall -pedantic -std=c99
+ ifeq (${DEBUG},1)
+ HOSTCCFLAGS += -g -O0 -DDEBUG
+ else
+diff --git a/tools/marvell/doimage/Makefile b/tools/marvell/doimage/Makefile
+index a4f7a1d89..852830a4e 100644
+--- a/tools/marvell/doimage/Makefile
++++ b/tools/marvell/doimage/Makefile
+@@ -10,7 +10,7 @@ include ../../../make_helpers/toolchain.mk
+ PROJECT = doimage
+ OBJECTS = doimage.o
+
+-HOSTCCFLAGS = -Wall -Werror
++HOSTCCFLAGS = -Wall
+ ifeq (${DEBUG},1)
+ HOSTCCFLAGS += -g -O0 -DDEBUG
+ else
+diff --git a/tools/nxp/create_pbl/Makefile b/tools/nxp/create_pbl/Makefile
+index 9285b723e..57bbeaa0e 100644
+--- a/tools/nxp/create_pbl/Makefile
++++ b/tools/nxp/create_pbl/Makefile
+@@ -16,7 +16,7 @@ PROJECT_2 := byte_swap$(.exe)
+ OBJECTS_2 := byte_swap.o
+
+ override CPPFLAGS += -D_GNU_SOURCE -D_XOPEN_SOURCE=700
+-CFLAGS := -Wall -Werror -pedantic -std=c99
++CFLAGS := -Wall -pedantic -std=c99
+ ifeq (${DEBUG},1)
+ CFLAGS += -g -O0 -DDEBUG
+ else
+diff --git a/tools/sptool/Makefile b/tools/sptool/Makefile
+index f579a42eb..7a847dd3f 100644
+--- a/tools/sptool/Makefile
++++ b/tools/sptool/Makefile
+@@ -14,7 +14,7 @@ PROJECT := $(notdir ${SPTOOL})
+ OBJECTS := sptool.o
+
+ override CPPFLAGS += -D_GNU_SOURCE -D_XOPEN_SOURCE=700
+-HOSTCCFLAGS := -Wall -Werror -pedantic -std=c99
++HOSTCCFLAGS := -Wall -pedantic -std=c99
+ ifeq (${DEBUG},1)
+ HOSTCCFLAGS += -g -O0 -DDEBUG
+ else
+diff --git a/tools/stm32image/Makefile b/tools/stm32image/Makefile
+index 64b6ccfab..600662d74 100644
+--- a/tools/stm32image/Makefile
++++ b/tools/stm32image/Makefile
+@@ -12,7 +12,7 @@ include ${MAKE_HELPERS_DIRECTORY}toolchain.mk
+ PROJECT := stm32image$(.exe)
+ OBJECTS := stm32image.o
+
+-HOSTCCFLAGS := -Wall -Werror -pedantic -std=c99 -D_GNU_SOURCE
++HOSTCCFLAGS := -Wall -pedantic -std=c99 -D_GNU_SOURCE
+
+ ifeq (${DEBUG},1)
+ HOSTCCFLAGS += -g -O0 -DDEBUG
+--
+2.47.3
+