diff options
author | Mats Karrman <mats.dev.list@gmail.com> | 2017-04-27 00:23:18 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-04-30 16:50:39 -0300 |
commit | 3b7f5a0069c5df1b8c2ffbd0752158cdbc5053ce (patch) | |
tree | de7c4bc1a75ea7c48dc4263637557f4f7f666b9c /classes/fsl-kernel-localversion.bbclass | |
parent | f12671110e0d442fc1655957f6e10291f743e7d1 (diff) | |
download | meta-freescale-3b7f5a0069c5df1b8c2ffbd0752158cdbc5053ce.tar.gz |
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 <mats.dev.list@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes/fsl-kernel-localversion.bbclass')
-rw-r--r-- | classes/fsl-kernel-localversion.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
38 | printf "%s%s" +g $head > ${S}/.scmversion | 38 | printf "%s%s" +g $head > ${S}/.scmversion |
39 | fi | 39 | fi |
40 | } | 40 | } |
41 | addtask preconfigure before do_configure after do_patch | 41 | addtask preconfigure before do_configure after do_unpack do_patch |