[Letux-kernel] How to build LetuxOS Android Kernel for LetuxOS Replicant 4.2?

H. Nikolaus Schaller hns at goldelico.com
Fri Jun 28 19:38:16 CEST 2019


Hi,

>> 
>> find -name "*.ko" -exec mv \{\} /path/to/system/lib/modules \;
> 
> That is what I had tried first but it did not load any module...
> Maybe it needs a special depmod to be run.
> 
>> not worth searching for.

Looks as if I have found something:

https://android.googlesource.com/device/asus/fugu/+/b01b7fd/AndroidKernel.mk#102

This does the "find -exec cp" but then runs a depmod. KERNEL_FAKE_DEPMOD seems to be a (broken?) symlink to help to create proper file names.

And, we might have an AndroidKernel.mk as well.

BR,
Nikolaus



More information about the Letux-kernel mailing list