Skip to contentSkip to conversation

package/esp-hosted: don't treat warnings as errors

PATCH Applied Giulio Benetti 3 participants 3 messages Jun 3 – Jun 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/esp-hosted: don't treat warnings as errors

This driver fails to build because warnings are treated as errors but this is too strict, so let's disable this behavior by setting:
KCFLAGS="-Wno-error"

Fixes:
https://autobuild.buildroot.org/results/df3763e74de4071331a41140fb5528523af9e374/

---
 package/esp-hosted/esp-hosted.mk | 2 ++
 1 file changed, 2 insertions(+)
package/esp-hosted/esp-hosted.mk +2 -0
index 3de8f24123..5cf6571481 100644
@@ -29,5 +29,7 @@ else
 ESP_HOSTED_MODULE_MAKE_OPTS = target=sdio
 endif
 
+ESP_HOSTED_MODULE_MAKE_OPTS += KCFLAGS="-Wno-error"
+
 $(eval $(kernel-module))
 $(eval $(generic-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

This driver fails to build because warnings are treated as errors but this is too strict, so let's disable this behavior by setting:
KCFLAGS="-Wno-error"

Fixes:
https://autobuild.buildroot.org/results/df3763e74de4071331a41140fb5528523af9e374/

Committed after adding some details about how this was (re-)introduced by the recent revert of commit 6b56e0b4f0 ("linux: disable -Werror") in commit a966f5cde5, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Giulio Benetti

In reply of:

Quoted 8 lines

This driver fails to build because warnings are treated as errors but this is too strict, so let's disable this behavior by setting:
KCFLAGS="-Wno-error"

Fixes:
https://autobuild.buildroot.org/results/df3763e74de4071331a41140fb5528523af9e374/

Applied to 2025.02.x & 2026.02.x. Thanks

Quoted 23 lines
---
 package/esp-hosted/esp-hosted.mk | 2 ++
 1 file changed, 2 insertions(+)
package/esp-hosted/esp-hosted.mk +2 -0
index 3de8f24123..5cf6571481 100644
@@ -29,5 +29,7 @@ else
 ESP_HOSTED_MODULE_MAKE_OPTS = target=sdio
 endif
 
+ESP_HOSTED_MODULE_MAKE_OPTS += KCFLAGS="-Wno-error"
+
 $(eval $(kernel-module))
 $(eval $(generic-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot