]> code.ossystems Code Review - openembedded-core.git/commit
kernel-fitimage: Cope with non-standard kernel deploy subdirectory
authorMike Crowe <mac@mcrowe.com>
Mon, 21 Oct 2019 14:38:17 +0000 (15:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2019 15:26:15 +0000 (16:26 +0100)
commitd324b22d32eaea9e4337c963c8b1a33b0ba6a2dd
treef998f9204542d2d9d53fe54b9978d48bb64854d3
parent7e6da22fe4faf841bcec02e55f376b4dae04d6a8
kernel-fitimage: Cope with non-standard kernel deploy subdirectory

kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.

kernel-fitimage.bbclass's kernel_do_deploy_append ought to do the same
and can do so by using the same shell variable.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass