]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
wic/bootimg-efi: use cross objcopy when building unified kernel image
authorRoss Burton <ross.burton@arm.com>
Wed, 27 Jul 2022 11:11:54 +0000 (12:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Aug 2022 10:29:57 +0000 (11:29 +0100)
commit0264aeedbf21e9e7a104243c11b3b57f00e38bda
treec0991c274f21168a448e8b14e97b880e650c15ad
parentc523549141e5c31edc75281f581d97867b7d251d
wic/bootimg-efi: use cross objcopy when building unified kernel image

We can't rely on the host objcopy knowing how to process target binaries,
so use the cross objcopy in the sysroot instead.

Also construct the command argument-by-argument as the format expression
was getting unwieldy.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
scripts/lib/wic/plugins/source/bootimg-efi.py