Skip to content

Commit d90f293

Browse files
committed
linux: fix defconfig build
As for busybox use 'make defconfig' to create some default config in case nothing else exists. Fixes BobBuildTool#111.
1 parent 50fbfee commit d90f293

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

recipes/kernel/linux.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ buildScript: |
3434
elif [[ ${LINUX_CONFIG:+true} ]] ; then
3535
LCFG="${LINUX_CONFIG}"
3636
else
37-
LCFG="defconfig"
37+
if [ ! -e .config ]; then
38+
make -C $1/linux O=$PWD savedefconfig
39+
fi
40+
LCFG="$PWD/defconfig"
3841
fi
3942
4043
linuxConfig $1/linux $LCFG

0 commit comments

Comments
 (0)