Re: [U-Boot] [PATCH 1/4] Kbuild: support W=[N, ]err for passing '-Werror' to the compiler

2018-01-26 Thread Daniel Schwierzeck
Hi Masahiro, On 26.01.2018 02:09, Masahiro Yamada wrote: > Hi Daniel, > > > 2018-01-26 2:21 GMT+09:00 Daniel Schwierzeck : >> Extend the Kbuild's W=N option with an optional 'err' value. This >> will pass -Werror to the compiler to treat all warnings as errors. >>

Re: [U-Boot] [PATCH 1/4] Kbuild: support W=[N, ]err for passing '-Werror' to the compiler

2018-01-25 Thread Masahiro Yamada
Hi Daniel, 2018-01-26 2:21 GMT+09:00 Daniel Schwierzeck : > Extend the Kbuild's W=N option with an optional 'err' value. This > will pass -Werror to the compiler to treat all warnings as errors. > This is useful to enforce a zero-warnings policy. > > The 'err' value

[U-Boot] [PATCH 1/4] Kbuild: support W=[N, ]err for passing '-Werror' to the compiler

2018-01-25 Thread Daniel Schwierzeck
Extend the Kbuild's W=N option with an optional 'err' value. This will pass -Werror to the compiler to treat all warnings as errors. This is useful to enforce a zero-warnings policy. The 'err' value can also be combined with the numerical values like this: make W=1 make W=err make