summaryrefslogtreecommitdiff
path: root/config/submodule/coreboot/default/arm-trusted-firmware/patches/0001-disable-werror.patch
blob: 5554447b2003884f72fc1715478d0b8c80e8b4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
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