Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

How to populate Linux Kernel Headers into Yocto/Poky image ?

$
0
0

Greetings,

we have a specific driver (.ko) we need to compile , but experience troubles doing so with cross build toolchain.

To stop wasting time trying to figure out how to cross compile the driver, we would like to build on the target instead (RZ/G2E,  CAT874 board).

Unfortunately, the kernel headers are missing.

Typically, they sit inside "/usr/src/linux-headers-5.4........"

Is there a best practice , or maybe even a alternative recipe / bbappend we can apply to get the headers populated into the image ?

-> Alternatively, some 'proper' way of extracting the headers from tmp/   or  sources/  directories and scp them into the target , correctly configured ?

Thank you very much !


Viewing all articles
Browse latest Browse all 1583

Trending Articles