yoctor master分支编译方式

1 . 下载方式:
git clone git://git.yoctoproject.org/poky.git

2, 编译方式
cd piky
source oe-init-build-env
bitbake -s | grep core
bitbake core-image-sato (带图形界面)
编译完成后:runqemu qemux86
3. meta/conf/machine/qemux86.conf -->
require conf/machine/include/qemu.inc–>
# Use a common kernel recipe for all QEMU machines
PREFERRED_PROVIDER_virtual/kernel ??= “linux-yocto”
poky/meta/recipes-kernel/linux: ls:

kernel-devsrc.bb  linux-dummy  linux-dummy.bb  linux-yocto_5.4.bb  linux-yocto-dev.bb  linux-yocto.inc  linux-yocto-rt_5.4.bb  linux-yocto-tiny_5.4.bb

log: selecting linux-yocto to satisfy virtual/kernel due to PREFERRED_PROVIDERS

4.kenel的选择
bitbake -b …/meta/recipes-kernel/linux/linux-yocto_5.4.bb -v

5.参数的解析
bb:
KBRANCH ?= “v5.4/standard/base”
bb.class
do_kernel_checkout() {
machine_branch="KaTeX parse error: Expected '}', got 'EOF' at end of input: …ine_branch(d, "{KBRANCH}" )}"
git checkout -f ${machine_branch}
}

你可能感兴趣的:(yocto)