Re: [PATCH] builddeb: include objtool binary in headers package

From: Michal Marek
Date: Tue May 10 2016 - 11:41:32 EST


On Wed, May 04, 2016 at 03:35:39PM +0200, Bjørn Mork wrote:
> "objtool" is required for building external m dules if "Compile-time
> stack metadata validation" is enabled. Otherwise all builds based
> on the headers package fail with:
>
> make[1]: Entering directory '/usr/src/linux-headers-4.6.0-rc6'
> make[2]: *** No rule to make target 'tools/objtool/objtool', needed by 'foo.o'. Stop.
> Makefile:1598: recipe for target 'foo.ko' failed
> make[1]: *** [foo.ko] Error 2
> make[1]: Leaving directory '/usr/src/linux-headers-4.6.0-rc6'
>
> Signed-off-by: Bjørn Mork <bjorn@xxxxxxx>
> ---
> scripts/package/builddeb | 3 +++
> 1 file changed, 3 insertions(+)

Applied to kbuild.git#misc.

Michal