]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-devicetree: Cope with non-standard kernel deploy subdirectory
authorMike Crowe <mac@mcrowe.com>
Mon, 21 Oct 2019 14:38:18 +0000 (15:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2019 15:26:15 +0000 (16:26 +0100)
commitdb5752911fe085337b9d3d4af85f89a0c664388e
tree487e694ef9fe2be27fc2fb287c21bbb823f37b60
parentd324b22d32eaea9e4337c963c8b1a33b0ba6a2dd
kernel-devicetree: 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-devicetree.bbclass's 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-devicetree.bbclass