Yocto Build git directory is missing for Kernel

时间:2019-01-18 18:46:37

标签: kernel yocto porting

I downloaded yocto, activated beaglebone as machine. Then I build core-image-minimal. I wanted to do kernel and u-boot modification.

But "git" directory of the following path is missing: <build dir>/tmp/work/<machine>/<kernel-name>/<kernel-version>/git/

I have git directory for u-boot but not for kernel. Does anyone know, what can be the reason?

1 个答案:

答案 0 :(得分:0)

The kernel source directory is located in ${TMPDIR}/work-shared/${MACHINE}/kernel-source.

By default $TMPDIR is tmp inside your build directory.