I built yocto L5.4.70 on Ubuntu 18.04 64bit success, and then I tried to build the kernel in standalone environment but failed.
1.use the following command to build yocto
DISTRO=fsl-imx-fb MACHINE=imx6qpsabreauto bitbake core-image-minimal
2. use the following command to get the cross compile toolchain
DISTRO=fsl-imx-fb MACHINE=imx6qpsabreauto bitbake core-image-minimal -c populate_sdk
and then execute fsl-imx-fb-glibc-x86_64-core-image-minimal-cortexa9t2hf-neon-toolchain-5.4-zeus.sh
after it, the value of $CC --verion is :
arm-poky-linux-gnueabi-gcc (GCC) 9.2.0
3 Execute the following command to get the kernel and build.
# git clone https://source.codeaurora.org/external/imx/linux-imx -b imx_5.4.70_2.3.0
I execute following commands to build the kernel:
make distclean
make imx_v7_defconfig
make
it report " can't find stdio.h" , after I set the C_INCLUDE_PATH, it reports define errors as attachment. Could you help to check it ? thanks.