builddeb: include objtool binary in headers package
commit697bbc7b832048d3a679cd55caf2268a325efbe0
authorBjørn Mork <bjorn@mork.no>
Wed, 4 May 2016 13:35:39 +0000 (4 15:35 +0200)
committerMichal Marek <mmarek@suse.com>
Tue, 10 May 2016 15:41:01 +0000 (10 17:41 +0200)
tree4ff39808789fe338db50a029902f24ec8be24249
parent27c3bffd230abd0a598586aed0fe0ba7b61e0e2e
builddeb: include objtool binary in headers package

"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@mork.no>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/package/builddeb