]> code.ossystems Code Review - openembedded-core.git/commit
kernel-devsrc: do not copy Module.symvers file during install
authorOleksandr Ocheretnyi <oocheret@cisco.com>
Fri, 25 Feb 2022 15:17:15 +0000 (07:17 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Feb 2022 15:43:55 +0000 (15:43 +0000)
commitfa3c6f94d55f7192ea115ba7f98a59340e2ddfea
treedb68a8952ff7a6451f5df9330b853507260d1ad9
parenta6a9bb8010776dde936613679d6511f82c82c13f
kernel-devsrc: do not copy Module.symvers file during install

When CONFIG_MODULES is not enabled in kernel config - Module.symvers
generation is not done, which causes the file not to be created.

This fails later in do_install() due to the fact that copy
command in executed for non-existing Module.symvers file.

Check for Module.symvers existence before copy command in executed.

Signed-off-by: Oleksandr Ocheretnyi <oocheret@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/kernel-devsrc.bb