]> 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)
committerSteve Sakoman <steve@sakoman.com>
Mon, 29 Jun 2020 15:17:44 +0000 (05:17 -1000)
commite96d99824f085644162fe0599988a3408eab90f8
tree7ee84736e53d7df642fd9266b7f75bf57d670349
parent720d29cbfce34375402c6a4c17e440ffbb2659bf
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: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel.bbclass