Re: [PATCH] objtool: move libelf detection to Kconfig from Makefile

2018-07-09 Thread Masahiro Yamada
2018-07-10 4:21 GMT+09:00 Josh Poimboeuf : > On Sun, Jul 08, 2018 at 06:59:42PM +0900, Masahiro Yamada wrote: >> Currently, users are allowed to enable STACK_VALIDATION regardless >> of the compiler capability. The top-level Makefile warns or breaks >> the build if it turns out that the host

Re: [PATCH] objtool: move libelf detection to Kconfig from Makefile

2018-07-09 Thread Masahiro Yamada
2018-07-10 4:21 GMT+09:00 Josh Poimboeuf : > On Sun, Jul 08, 2018 at 06:59:42PM +0900, Masahiro Yamada wrote: >> Currently, users are allowed to enable STACK_VALIDATION regardless >> of the compiler capability. The top-level Makefile warns or breaks >> the build if it turns out that the host

Re: [PATCH] objtool: move libelf detection to Kconfig from Makefile

2018-07-09 Thread Josh Poimboeuf
On Sun, Jul 08, 2018 at 06:59:42PM +0900, Masahiro Yamada wrote: > Currently, users are allowed to enable STACK_VALIDATION regardless > of the compiler capability. The top-level Makefile warns or breaks > the build if it turns out that the host compiler cannot link libelf. > > Move the libelf

Re: [PATCH] objtool: move libelf detection to Kconfig from Makefile

2018-07-09 Thread Josh Poimboeuf
On Sun, Jul 08, 2018 at 06:59:42PM +0900, Masahiro Yamada wrote: > Currently, users are allowed to enable STACK_VALIDATION regardless > of the compiler capability. The top-level Makefile warns or breaks > the build if it turns out that the host compiler cannot link libelf. > > Move the libelf

[PATCH] objtool: move libelf detection to Kconfig from Makefile

2018-07-08 Thread Masahiro Yamada
Currently, users are allowed to enable STACK_VALIDATION regardless of the compiler capability. The top-level Makefile warns or breaks the build if it turns out that the host compiler cannot link libelf. Move the libelf test to Kconfig so that users can enable the feature only when the host

[PATCH] objtool: move libelf detection to Kconfig from Makefile

2018-07-08 Thread Masahiro Yamada
Currently, users are allowed to enable STACK_VALIDATION regardless of the compiler capability. The top-level Makefile warns or breaks the build if it turns out that the host compiler cannot link libelf. Move the libelf test to Kconfig so that users can enable the feature only when the host