umiddelb / armhf

interesting stuff about arm devices (Utilite, SolidRun, Odroid)
732 stars 113 forks source link

Embedding Linux headers while building custom android kernel bootable image #32

Closed spaul13 closed 6 years ago

spaul13 commented 6 years ago

Just want to know, while building the custom Android kernel (arm64 architecture), is it possible to install corresponding Linux-headers with that.

As I want to install a few drivers software on Android and they are finding the Linux-headers corresponding to the android-kernel version? Can anyone please tell me how to do that?

umiddelb commented 6 years ago

Hi,

I have no idea about the way how the Android Linux kernel is build. The 'vanilla' Linux source tree has a specific make target, `make headers_install ´ will install the header files at their default location. IMHO Android introduces their own defaults w.r.t. the file system layout, so the Linux defaults may not apply.

spaul13 commented 6 years ago

I have to build the custom Android kernel on Linux. Actually, the problem is while doing 'make headers install', it installs the headers for the Linux not for my built custom Android kernel.

umiddelb commented 6 years ago

I've no idea. You might better raise your question elsewhere.