AnsweredAssumed Answered

Build Linux kernel manually in Yocto project for LS2080A

Question asked by thomasculverhouse on May 31, 2016
Latest reply on Jun 8, 2016 by thomasculverhouse


I want to be able to build the linux kernel for my LS2080A RDB manually from within the Yocto project.

 

Following the Freescale Yocto Project Quick Start Guide, if I do

 

bitbake -c cleansstate virtual/kernel

bitbake -c compile virtual/kernel

 

I get a directory tmp/work-shared/ls2080ardb/kernel-source which is filled with all the kernel source code, a Makefile and so on.

 

Within the kernel-source directory, normal kernel compilation would allow something like

 

make ARCH=arm64 CROSS-COMPILE=/path/to/cross/compiler/aarch64-fsl-linux- vmlinux

 

but this gives errors when I run it.

 

Can anyone point to how I can build the kernel manually? Better still, how can I build the kernel completely outside the Yocto project?

Outcomes