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, breaking the build.

This used to be hidden by commit 6b56e0b4f0 ("linux: disable -Werror"),
which was reverted in commit a966f5cde5 ("Revert "linux: disable -Werror""),
so fix it by explicitly passing -Wno-error.

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

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Peter: add note about when issue was (re-)introduced]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit daf4962937)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Giulio Benetti
2026-06-03 20:07:28 +02:00
committed by Thomas Perale
parent 470e20cadd
commit 702b01dc96

View File

@@ -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))