1.安装必备软件包基于ubuntu 14.04
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev
sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
sudo apt-get install u-boot-tools
2.获取代码
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml
repo sync
3.编译代码
DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b build-xwayland
bitbake fsl-image-qt5-validation-imx //整体编译
bitbake -c compile -f u-boot-imx //编译u-boot
bitbake -c deploy -f u-boot-imx //生成部署到 deploy/images 下
bitbake -c compile -f linux-imx //编译内核
bitbake -c deploy -f linux-imx //部署到deploy/images下
bitbake fsl-image-qt5-validation-imx -c populate_sdk //生成QT5 SDK
网友评论