poky/meta/lib
Richard Purdie 9e83976054 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.

(From OE-Core rev: 52fd2993784b4218f5df4f343e7da45d964df305)

Fixes [YOCTO #12860]

(From OE-Core rev: 49b208fc7b3d52826ba57a86ed52bc30e181ff78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Tweaked to add "make prepare" to module-base.bbclass instead of
make-mod-scripts.bb]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-15 10:22:44 +01:00
..
bblayers templates/layer.conf: remove backslash to enable bbappend setting 2018-01-06 10:13:56 +00:00
oe package.py: use single quotes for path passed to file in is_elf() 2018-05-08 15:37:17 +01:00
oeqa make-mod-scripts/kernel-devsrc: Fix objtool issues 2018-08-15 10:22:44 +01:00
buildstats.py meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
rootfspostcommands.py rootfspostcommands: remove shadow backup files instead of trying to sort 2017-02-19 06:16:58 -08:00