From: Mats Karrman Date: Wed, 26 Apr 2017 22:23:18 +0000 (+0200) Subject: fsl-kernel-localversion: Add preconfigure dependency on do_unpack X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3b7f5a0069c5df1b8c2ffbd0752158cdbc5053ce;p=meta-freescale.git fsl-kernel-localversion: Add preconfigure dependency on do_unpack 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 Signed-off-by: Otavio Salvador --- diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index 48e54035..c0306a08 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass @@ -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