]> code.ossystems Code Review - openembedded-core.git/commit
uboot-sign: Refactor do_deploy prefunc to do_deploy_prepend
authorDaniel Klauer <daniel.klauer@gin.de>
Tue, 30 Jun 2020 11:38:53 +0000 (13:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Jun 2020 22:02:11 +0000 (23:02 +0100)
commit17619c1a41fa961afc317e4aafab9cdc4ff14a49
treea5a87774b5a344d05228027d4594d8f8164f2bd1
parent4a9c62d49940b154177d817a845188d827370607
uboot-sign: Refactor do_deploy prefunc to do_deploy_prepend

When inherited by the u-boot recipe (UBOOT_PN), uboot-sign.bbclass adds
a concat_dtb step, which places additional files into ${DEPLOYDIR}
before do_deploy. By turning this from a prefunc into a part of the normal
do_deploy function, it becomes possible to use
  do_deploy[cleandirs] = "${DEPLOYDIR}"
in the future, without deleting the files produced by concat_dtb.

As before, care is taken to not interfere with the kernel's do_deploy
definition, since concat_dtb was only needed for u-boot.

Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uboot-sign.bbclass