mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
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 commit6b56e0b4f0("linux: disable -Werror"), which was reverted in commita966f5cde5("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 commitdaf4962937) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
992d69bc52
commit
bdbcabf44e
@@ -34,5 +34,7 @@ else
|
||||
ESP_HOSTED_MODULE_MAKE_OPTS += ESP_SLAVE=CONFIG_TARGET_ESP32C6=y
|
||||
endif
|
||||
|
||||
ESP_HOSTED_MODULE_MAKE_OPTS += KCFLAGS="-Wno-error"
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user