]> code.ossystems Code Review - meta-freescale.git/commitdiff
fsl-kernel-localversion: Add preconfigure dependency on do_unpack
authorMats Karrman <mats.dev.list@gmail.com>
Wed, 26 Apr 2017 22:23:18 +0000 (00:23 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 30 Apr 2017 19:50:39 +0000 (16:50 -0300)
Even if 'externalsrc' is used, SRC_URI may specify a 'defconfig'.
However as the use of 'externalsrc' will do away with the do_patch
task, do_preconfigure is in risk of being run before the defconfig
is copied to the build directory. This patch adds a second dependency
on 'do_unpack' that makes sure this does not happen.

Signed-off-by: Mats Karrman <mats.dev.list@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
classes/fsl-kernel-localversion.bbclass

index 48e5403516f46487c0d94f4e5a68221af8a32b13..c0306a08d468091e2293532af77154c73ecb011f 100644 (file)
@@ -38,4 +38,4 @@ do_preconfigure() {
                printf "%s%s" +g $head > ${S}/.scmversion
        fi
 }
-addtask preconfigure before do_configure after do_patch
+addtask preconfigure before do_configure after do_unpack do_patch