]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel: don't fail if Modules.symvers doesn't exist
authorJoel Stanley <joel@jms.id.au>
Fri, 4 Aug 2023 17:06:10 +0000 (12:06 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Aug 2023 08:18:49 +0000 (09:18 +0100)
commit856c916ffbf3438d8cf5d8bed344473bde03b56e
tree003b1f593c8bfd7bf9c696d6313087ca4acf78ff
parent32fe21e420b1c2a4e7ef9d7c768a22c9a7caa115
kernel: don't fail if Modules.symvers doesn't exist

Kernels that do not use modules do not have the Modules.symvers file,
which causes the previous one-liner to fail.  Invert the logic so that
the absence of the Modules.symvers is a passing situation but we still
get failure checking on the install operation.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/classes-recipe/kernel.bbclass