Could someone please help me how I can compile multiple files and create a module in Petalinux.
From my understanding,
I should Include Kernel headers in the petalinux build and use make command inside board which automatically compiles the required modules for the running kernel. (if kernel headers are present).
Currently I don't have kernel headers (/lib/modules/$(uname -r)/build )in my board.
I do not have the option "kernel-devsrc" to include kernel-headers under,
user packages --> [*] kernel-devsrc when I give the command "petalinux-config -c rootfs"
Can you please help me in how I can include kernel headers into my petalinux image file.
Question
dpk
Hi,
Could someone please help me how I can compile multiple files and create a module in Petalinux.
From my understanding,
I should Include Kernel headers in the petalinux build and use make command inside board which automatically compiles the required modules for the running kernel. (if kernel headers are present).
Currently I don't have kernel headers (/lib/modules/$(uname -r)/build )in my board.
I do not have the option "kernel-devsrc" to include kernel-headers under,
user packages --> [*] kernel-devsrc when I give the command "petalinux-config -c rootfs"
Can you please help me in how I can include kernel headers into my petalinux image file.
Thanks in Advance.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.