]> code.ossystems Code Review - openembedded-core.git/commit
make-mod-scripts/kernel-devsrc: Fix objtool issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Mar 2018 13:02:20 +0000 (14:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Mar 2018 23:28:38 +0000 (00:28 +0100)
commit52fd2993784b4218f5df4f343e7da45d964df305
treec0080a6342c820e9c77d8a7015d7e58d29391b69
parentf06a8d20560b8e93cf875ee58eddda0a976e7b14
make-mod-scripts/kernel-devsrc: Fix objtool issues

Kernels which use tools/objtool can now fail when building external modules
due to objtool being missing, the generated files can also cause problems
for kernel-devsrc.

Ensure objtool is generated in make-mod-scripts by also calling
"make prepare".

For devsrc, delete the generated binaries since they'd be native
binaries and unsuitable for the target.

The oeqa kernel module tests also need to have the additional "make prepare"
step added.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/kernelmodule.py
meta/recipes-kernel/linux/kernel-devsrc.bb
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb