]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: Fix Module.symvers support
authorLili Li <lili.li@intel.com>
Fri, 26 Jun 2020 05:45:56 +0000 (13:45 +0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 29 Jun 2020 05:51:06 +0000 (13:51 +0800)
commit03248953d1eacede00971289dc9fff8d97d00464
tree244a3ead1a8aa5e60edb59072a4e15d6e8b92792
parent12dceaba5a7e3afed2ccb43d0788e5b95c602951
kernel.bbclass: Fix Module.symvers support

Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate
vmlinux.symvers and reuse it for the second modpost"), kernel will
generate new vmlinux.symvers instead of dumping all the vmlinux symbols
into Module.symvers in the first pass.

Error log:
    'run.do_shared_workdir.16614' failed with exit code 1:
    DEBUG: cp: cannot stat 'Module.symvers': No such file or directory

This change will check the file Module.symvers existence before copying it.

Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd2d62a08a1dfcd890a03ee55132b6d6c65f5ab7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/kernel.bbclass