On Mon, Jun 27, 2016 at 1:16 AM, Zhenhua Luo <zhenhua....@nxp.com> wrote: > Hello all, > > > > I generate the Yocto toolchain by “bitbake meta-toolchain”, and use this > toolchain to cross-compile kernel, I met the following error. Is this a bug > or I missed something? My host Linux is Fedora 22.
its better to start using bitbake -cpopulate_sdk <image name> to generate SDKs. > > > > $ source /opt/poky/2.1+snapshot/environment-setup-ppce500mc-poky-linux > > $ cd linux/ > > $ make corenet32_smp_defconfig > > HOSTCC scripts/kconfig/conf.o > > ccache: error: Could not find compiler "gcc" in PATH did you see if gcc is in your path after sourcing SDK env script ? > > scripts/Makefile.host:108: recipe for target 'scripts/kconfig/conf.o' failed > > make[1]: *** [scripts/kconfig/conf.o] Error 1 > > Makefile:541: recipe for target 'corenet32_smp_defconfig' failed > > make: *** [corenet32_smp_defconfig] Error 2 > > > > > > Best Regards, > > > > Zhenhua > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto