aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2016-08-05 17:47:59 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-10 16:09:38 -0300
commit4567d6c4780adc2a11bba8ea894a20e4242d8238 (patch)
treea8e6583d89bbe10f3ca0781742df143a6d4ac085
parent4b71532100d9a239ec7082257918d4031090289e (diff)
downloadmeta-fsl-arm-4567d6c4780adc2a11bba8ea894a20e4242d8238.tar.gz
meta-fsl-arm-4567d6c4780adc2a11bba8ea894a20e4242d8238.tar.bz2
meta-fsl-arm-4567d6c4780adc2a11bba8ea894a20e4242d8238.zip
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>
-rw-r--r--classes/fsl-kernel-localversion.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass
index 42c2b17..48e5403 100644
--- a/classes/fsl-kernel-localversion.bbclass
+++ b/classes/fsl-kernel-localversion.bbclass
@@ -23,6 +23,7 @@ kernel_conf_variable() {
}
do_preconfigure() {
+ mkdir -p ${B}
echo "" > ${B}/.config
CONF_SED_SCRIPT=""