]> code.ossystems Code Review - openembedded-core.git/commit
package: Add support for kernel stripping
authorSaul Wold <Saul.Wold@windriver.com>
Wed, 12 Jan 2022 17:20:40 +0000 (09:20 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Jan 2022 13:57:08 +0000 (13:57 +0000)
commite09a8fa931fe617afc05bd5e00dca5dd3fe386e8
tree7e97840b2af11d6f5e294bd3bb60c47e8cab3574
parente8d9caede5f08154ca615fdaba676b7a4ae05b01
package: Add support for kernel stripping

Extend runstrip() to accept additional argument to enable
sharing it with the kernel do_strip() so that
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS can be passed.

Since is_elf() understands kernel modules there is no need to keep a
seperate list for kernmodules or hardcode the values to runstrip.

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