package/esp-hosted: don't treat warnings as errors
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
@@ -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
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
Thomas Perale via buildroot
AppliedIn 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/Signed-off-by Giulio Benetti <[email protected]>
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@@ -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