I am trying to compile a custom kernel for Nvidia's Jetson TK1 board, and it seems that as well as the kernel itself (zImage) I will need
However I can't see how to create the linux-headers. I have tried running
make headers_install but it does not seem to create the same type of output as what I see in other
I've seen other similar questions such as here, however this assumes you are building the same version as you are running, where I am trying to build with a different LOCAL_VERSION.
I am starting from a "Linux4Tegra" distro, however, I am attempting to make a custom system based on Ubuntu Core.
To clarify, I am trying to create a kernel with my own LOCAL_VERSION, i.e., my own version, not an existing version in any repository. I would like to generate the headers that match this. So installing a linux-headers-xxx package will not address my problem.
My question is how are these packages initially created from the linux source?
When I look at the files in the existing headers directories, it contains references to that kernel version, so I am assuming that this has been generated from that version of the linux source. How can I generate these? When someone is compiling a version of the kernel, surely they generate these files somehow?