yocto相关

repo:
curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo

https://community.freescale.com/docs/DOC-100847#jive_content_id_2__Configuring_the_kernel
MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11 -e x11
bitbake -c menuconfig linux-imx
bitbake fsl-image-qt5

bitbake -c cleansstate u-boot
bitbake -c patch u-boot
bitbake -c cleansstate linux-imx
bitbake -c cleanall fsl-image-qt5
bitbake meta-toolchain-qt5  #生成的sdk在 deploy/sdk/,一样先运行环境脚本

bitbake meta-ide-support:生成交叉编译环境脚本
source 交叉编译环境脚本
查看编译链:
echo $CC
arm-poky-linux-gnueabi-gcc -v
//bitbake meta-toolchain

error:
/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory 编译器问题

编译好的部署image在/build-x11/tmp/deploy下
qmake:/opt/fsl-yocto-bsp/build-x11/tmp/sysroots/x86_64-linux/usr/bin/qt5/
/opt/atsama5d44/poky/build-atmel/tmp/sysroots/x86_64-linux/usr/bin/qt5/qmake -o Makefile
//make savedefconfig 生成defconfig文件