]> code.ossystems Code Review - meta-freescale.git/commitdiff
fsl-kernel-localversion.bbclass: add preconfigure after do_kernel_metadata
authorMing Liu <liu.ming50@gmail.com>
Mon, 9 Nov 2020 14:30:33 +0000 (15:30 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 10 Nov 2020 19:23:16 +0000 (16:23 -0300)
do_preconfigure task should run after do_kernel_metadata, or else there
might be no ${WORKDIR}/defconfig present when KBUILD_DEFCONFIG is being
set rather than defconfig added in SRC_URI.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
classes/fsl-kernel-localversion.bbclass

index ff1075e51fc39e341e23f0bb210ab4450b2ff83e..0a175e316bbd13ba29c02579ec600d6b55395f59 100644 (file)
@@ -40,4 +40,4 @@ do_preconfigure() {
                printf "%s%s" +g $head > ${S}/.scmversion
        fi
 }
-addtask preconfigure before do_configure after do_unpack do_patch
+addtask preconfigure before do_configure after do_unpack do_patch do_kernel_metadata