diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-04-10 10:07:02 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-04-10 10:07:02 -0300 |
commit | 492999986124b5e960d0e21fc81d341458d6c5ad (patch) | |
tree | f7178fcfff88b458ce0a666330367997ee5be2e3 /classes/fsl-kernel-localversion.bbclass | |
parent | 722b1e6fc4f069cee4565c3fc9c7f0669529266d (diff) | |
download | meta-freescale-492999986124b5e960d0e21fc81d341458d6c5ad.tar.gz |
classes: fsl-kernel-localversion: Fix task dependency
We need to do any change to the generated `.config` file after it is
finished to be modified. In the case of `kernel-yocto` class being in use,
we need to do it after `kernel_configme` task.
Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class")
Fixes: #707.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a
Diffstat (limited to 'classes/fsl-kernel-localversion.bbclass')
-rw-r--r-- | classes/fsl-kernel-localversion.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index 0a175e31..c73b60a6 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass | |||
@@ -22,7 +22,8 @@ kernel_conf_variable() { | |||
22 | fi | 22 | fi |
23 | } | 23 | } |
24 | 24 | ||
25 | do_preconfigure() { | 25 | do_kernel_localversion[dirs] += "${S} ${B}" |
26 | do_kernel_localversion() { | ||
26 | mkdir -p ${B} | 27 | mkdir -p ${B} |
27 | echo "" > ${B}/.config | 28 | echo "" > ${B}/.config |
28 | CONF_SED_SCRIPT="" | 29 | CONF_SED_SCRIPT="" |
@@ -40,4 +41,5 @@ do_preconfigure() { | |||
40 | printf "%s%s" +g $head > ${S}/.scmversion | 41 | printf "%s%s" +g $head > ${S}/.scmversion |
41 | fi | 42 | fi |
42 | } | 43 | } |
43 | addtask preconfigure before do_configure after do_unpack do_patch do_kernel_metadata | 44 | |
45 | addtask kernel_localversion before do_configure after do_patch do_kernel_configme | ||