diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-08-05 17:47:59 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-12 11:38:59 -0300 |
commit | bca37f5e25975be6d7d766a08b138ebc1fd5dc94 (patch) | |
tree | ae63bf361eb4835ea9c5544e3a2e977ad4f58999 /classes | |
parent | 10c34208f79e5ed4a29c6c7b92c54b4f1e75a1cf (diff) | |
download | meta-freescale-bca37f5e25975be6d7d766a08b138ebc1fd5dc94.tar.gz |
fsl-kernel-localversion: Make sure build dir exist before create .config
Create directory ${B} before do_preconfigure task creates file ${B}/.config
Fix error:
../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/linux-fslc-imx/
4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/temp/run.do_preconfigure.16220:
line 109: ../fsl-community-bsp/build/tmp/work/imx6slevk-poky-linux-gnueabi/
linux-fslc-imx/4.1-1.0.x+gitAUTOINC+0c0844f9fa-r0/build/.config:
No such file or directory
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/fsl-kernel-localversion.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index 42c2b177..48e54035 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass | |||
@@ -23,6 +23,7 @@ kernel_conf_variable() { | |||
23 | } | 23 | } |
24 | 24 | ||
25 | do_preconfigure() { | 25 | do_preconfigure() { |
26 | mkdir -p ${B} | ||
26 | echo "" > ${B}/.config | 27 | echo "" > ${B}/.config |
27 | CONF_SED_SCRIPT="" | 28 | CONF_SED_SCRIPT="" |
28 | 29 | ||