Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fsl-kernel-localversion: Make sure build dir exist before create .config
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Otavio Salvador <[email protected]>
  • Loading branch information
fbertux authored and otavio committed Aug 9, 2016
1 parent 8be121e commit 09b9c01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/fsl-kernel-localversion.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ kernel_conf_variable() {
}

do_preconfigure() {
mkdir -p ${B}
echo "" > ${B}/.config
CONF_SED_SCRIPT=""

Expand Down

0 comments on commit 09b9c01

Please sign in to comment.