]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: use common strip()
authorSaul Wold <Saul.Wold@windriver.com>
Wed, 12 Jan 2022 17:20:41 +0000 (09:20 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Jan 2022 13:57:08 +0000 (13:57 +0000)
commite8d9caede5f08154ca615fdaba676b7a4ae05b01
treeee5c7e236be587035cfb56a0980ee511d94e13a2
parent37597397f03b6b0082a702147dc536ff8b2fa7a3
kernel.bbclass: use common strip()

Re-use the runstrip() code from oe.packaging, for the kernel
stripping process. Since runstrip() is python the kernel do_strip()
need to be converted to Python also. The stripped kernel image
will be used for deployment in do_deploy(). This will allow the
package.bbclass to split an unstripped kernel binary for the debug
information and extended packagedata. The extended package data is
used by create-spdx.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass