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-09 10:50:22 -0300
commit09b9c017400abc2f9b5d43a2c03fc2287dac9f93 (patch)
tree22da7af4dc36b64da5bb82388a1d0d65f3789759
parent8be121ee311690daccac3c6e25963be0fd21fb0e (diff)
downloadmeta-fsl-arm-09b9c017400abc2f9b5d43a2c03fc2287dac9f93.tar.gz
meta-fsl-arm-09b9c017400abc2f9b5d43a2c03fc2287dac9f93.tar.bz2
meta-fsl-arm-09b9c017400abc2f9b5d43a2c03fc2287dac9f93.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=""